Reference

Host options

PdfRendererOptions and jasy-only features exposed through custom components.

Host options (not markdown)

Featurecomark-pdfjasy
Page size / orientation / margin / gappdf.format, width+height, orientation, margin, gapPage({ size, orientation, margin, gap })
Document type defaultspdf.font, fontSize, color, lineHeight, textAlignDocument({ font, size, … })
Metadata / a11y / overflowpdf.title, author, lang, accessible, onOverflowrenderToBytes options
Encryptionpdf.encryptAES-256 encrypt options
Embedded fontsfonts + addFontaddFont / addFontFromUrl
Print faces / ink / table / quotevisualsHost maps faces onto Text / Box / Table
Chrome elementschrome.header / footer / watermarkPage header/footer, Positioned overlay
Missing glyphsonMissingGlyphsrenderToBytes({ onMissingGlyphs })
Node file exportcomark-pdf/noderenderToBytes + writeFile
Browser previewcomark-pdf/preview mountbytes → Blob URL

Configure these through Options and frontmatter.

jasy-only (custom component or call jasy)

These exist in jasy and are not markdown features. Expose them with components when a host needs them.

jasyWhy it stays in jasy
AcroForm fields (TextField, Checkbox, RadioGroup, Dropdown, ListBox, PushButton, SignatureField)Fillable widgets. Task lists stay printed marks.
fillForm / flattenFormEdit an existing form PDF
Link around a box / imageMarkdown links are text span({ href })
CanvasDrawing API, not an AST node
keepTogether, orphans / widows, PageBuilderLayout policy on the jasy tree
hyphenate, direction: 'rtl', ligatures / kerning flagsText engine options; no markdown syntax
@jasy/zugferdE-invoice XML + PDF/A-3 — separate package

See Custom components for factory examples.

For the full Comark syntax map, see Syntax matrix.
Copyright © 2026