Examples

Every file below ships in the repo โ€” open it in Read to see it live.

Showcase

The one-page tour: typography, headings, quotes, lists, code, tables, images, math.

./zig-out/bin/read showcase.md Showcase rendering

Code & task lists

Zig fences, task checkboxes, horizontal scroll on hover.

./zig-out/bin/read test_cases/code_and_tasks.md Code blocks and task lists

Tables

Column measurement, alignment, dividers, hover-scroll.

./zig-out/bin/read test_cases/tables_formatting.md Tables

Math gallery

Inline, display, and fenced formulae via the ZaTeX engine (falls back to source text without it).

./zig-out/bin/read test_cases/math_gallery.md Math rendering
Math basics Math display blocks

More: examples/latex-example.md ยท engine setup here.

Syntax highlighting

20 languages, one frame each.

./zig-out/bin/read test_cases/highlight.md Zig highlighting
Python highlighting Rust highlighting

Diagrams

Mermaid, d2, Graphviz, PlantUML โ€” cached async render, plain-code fallback.

./zig-out/bin/read test_cases/plugin_mermaid.md Mermaid diagram
Graphviz diagram D2 diagram

Classic reference

The original Markdown syntax doc and the MarkdownTest 1.0 suite.

./zig-out/bin/read examples/markdown-testfile.md