https://github.com/sungreong/md-pattern-studio
While working with LLM-generated content, I noticed Markdown is great for writing or generating documents, but turning it into a nicely structured report is surprisingly awkward.
Typical approaches are:
- Convert Markdown to HTML using a renderer - Ask the LLM to generate full HTML
Both have issues. Markdown renderers are limited in layout control, and LLM-generated HTML often becomes verbose and expensive in tokens.
So I tried a different approach.
Instead of changing Markdown significantly, this project introduces a small set of patterns that allow structured layouts like:
- Cover pages - Sections - Multi-column layouts - Report-style blocks
The goal is to keep Markdown readable while still producing visually structured HTML.
This is still an early project, but I’m curious if others working with LLM-generated documents have run into the same issue.
Feedback is welcome.
datanewbie•1h ago
One thing I noticed while working with LLM pipelines is that Markdown is becoming a kind of intermediate format for generated documents.
But most Markdown tooling still assumes static blog-style content rather than structured reports.
This project is a small experiment to keep Markdown simple while enabling more structured document layouts.