Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

MarkdownOptions

Defined in: packages/sdk/src/builder.ts:266

Options of Builder.markdown.

0.2.0

readonly contents?: number;

Defined in: packages/sdk/src/builder.ts:274

A contents page listing headings of levels 1 to contents, at the start.


readonly fonts?: MarkdownFonts;

Defined in: packages/sdk/src/builder.ts:268

The fonts by role; without them, Helvetica and Courier: Latin only, which PDF/UA-1 refuses (font-not-embedded).


readonly images?: Readonly<Record<string, Image>>;

Defined in: packages/sdk/src/builder.ts:270

The images the Markdown shows, by the target it writes (![…](photo.jpg) → "photo.jpg"). Nothing is fetched.


readonly page?: PageTemplate;

Defined in: packages/sdk/src/builder.ts:276

The pages (default A4, 56-point margins, “Page {page} of {pages}” in the footer).


readonly size?: number;

Defined in: packages/sdk/src/builder.ts:272

The body text’s size in points (default 10.5); headings scale from it.