const mixin markdown::MarkdownExt
markdown::MarkdownExt
@Js
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.
- 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.