mixin

MarkdownExt

@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

extendText

Callback to extend the Plaintext renderer

extendHtml virtual Void extendHtml(HtmlRendererBuilder builder)

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

extendMarkdown virtual Void extendMarkdown(MarkdownRendererBuilder builder)

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

extendParser virtual Void extendParser(ParserBuilder builder)

Callback to extend the parser. Default implementation does nothing.

extendText virtual Void extendText(TextRendererBuilder builder)

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

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST