MarkdownOptions
Defined in: packages/sdk/src/builder.ts:266
Options of Builder.markdown.
0.2.0
Properties
Section titled “Properties”contents?
Section titled “contents?”readonly contents?: number;Defined in: packages/sdk/src/builder.ts:274
A contents page listing headings of levels 1 to contents, at the start.
fonts?
Section titled “fonts?”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).
images?
Section titled “images?”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"). 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.