type

MarkdownExt

src @Js
const mixin MarkdownExt

Mixin for parser/renderer extensions.

Markdown extensions encapsulate all the modifications to the parser/renderer to support a given markdown "feature" (e.g. tables, strikethrough, etc.). The are registered using the methods on the various builders.

methods

extendHtml

Callback to extend the HTML renderer.

extendMarkdown

Callback to extend the Markdown renderer.

extendParser

Callback to extend the parser.

Slot Details

extendHtml

src virtual Void extendHtml(HtmlRendererBuilder builder)

Callback to extend the HTML renderer. Default implementation does nothing.

extendMarkdown

src virtual Void extendMarkdown(MarkdownRendererBuilder builder)

Callback to extend the Markdown renderer. Default implementation does nothing.

extendParser

src virtual Void extendParser(ParserBuilder builder)

Callback to extend the parser. Default implementation does nothing.