comark-pdf
Search…
k
Search…
k
Print-ready
PDF
from Comark
PDF renderer for
Comark
. Convert Markdown to PDF bytes via
jasy
— no headless browser required.
Get started
Open the playground
Three layers, one pipeline
Comark parses
CommonMark, GFM, components, bindings, and frontmatter become an AST.
comark-pdf maps
Read the AST, choose policy, and call jasy primitives — fonts, chrome, visuals, and custom components.
jasy draws
Layout and pagination without parsing Markdown, Mermaid, KaTeX, or Shiki.
Locale files
One markdown file per locale. Bind only the key that file owns — no `||` fallbacks.
Plugins and components
Math, Mermaid, binding, and host-owned jasy factories for barcodes or charts.
Browser preview
Mount PDF bytes in the DOM with a Blob URL — revoke when done.