hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs
I built a small project called md-pattern-studio.

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.

loading...