Skip to content

remark/html

Renders the engine’s tree as HTML, in the shape remark-html 13 gives with sanitize: false: a TypeScript port of the handlers of mdast-util-to-hast 10 and of mdurl’s encode (both MIT). The HTML is serialized as a browser serializes a DOM, so it compares with the reading view’s: raw HTML is passed through as it is.

Function Description
renderRemarkHtml Renders a tree as HTML.