Skip to content

MdiHtmlRenderOptions

Defined in: nodejs/packages/mdi/src/index.ts:315

HTML output controls that do not alter MDI semantics.

optional assets?: MdiImageAssets

Defined in: nodejs/packages/mdi/src/index.ts:319

When set, embed these bytes instead of leaving manuscript URLs in the HTML.


optional bodyOnly?: boolean

Defined in: nodejs/packages/mdi/src/index.ts:317

Return the semantic contents of <body> rather than a standalone page.


optional includeComments?: boolean

Defined in: nodejs/packages/mdi/src/index.ts:118

Include editorial comments in the returned tree; exports still omit them.

MdiParseOptions.includeComments


optional maxImageBytes?: number

Defined in: nodejs/packages/mdi/src/index.ts:323

Per-image byte limit passed to the core. Omission or 0 uses the 25MB default.


optional profile?: ExportProfile

Defined in: nodejs/packages/mdi/src/index.ts:321

Content box used to fit embedded images. Omission uses the document default.

MIT License© 2026 Iktahana