Heze

Markdown and SVG preview

Read the document. Ship the pixels.

Heze turns Markdown or static SVG into a native preview and a deterministic PNG, using the same renderer for both.

README.md1200 × 800
DocumentHeadingParagraphCode blockQuoteTable

Native Ruby interfaces

A document tree stays independent from its renderer.

heze README.md \
  --export preview.png

Markdown in. Stable pixels out.

headless rendererPNG ready

One document model, two useful outputs.

Preview while writing, then export without changing tools or accepting a second interpretation of the source.

Parse

Preserve GFM headings, lists, quotes, tables, fenced code, links, and images in an immutable tree.

Preview

Open a native platform window, browse a directory, and reload the selected document as it changes.

Export

Render deterministic PNG bytes at an explicit size with validated static SVG input.

A short path from source to image.

Point Heze at a file

Use Markdown, SVG, or a directory of Markdown documents.

Inspect the native preview

Watch edits live or choose a specific backend for the current platform.

Export the exact frame

Set width and height, then write a deterministic PNG for documentation or CI.

Start with one command.

gem install heze
heze README.md --export preview.png