Skip to main content

ToHtmlOptions

Options for converting document content to an HTML string.

Type

Object

Properties

NameTypeDescription
Base64imgbooleanDefines if the images will be created in the base64 format.
DemoteHeadingsbooleanDefines if all heading levels will be demoted to conform with the following standard: single H1 as title, H2 as top-level heading in the text body.
HtmlHeadingsbooleanDefines if the HTML headings and IDs will be generated when the Markdown renderer of your target platform does not handle Markdown-style IDs.
RenderHTMLTagsbooleanDefines if HTML tags will be preserved. By default, the opening angle brackets will be replaced with the special characters.