Class MarkdownParser.MarkdownHtmlParser

All Implemented Interfaces:
MacroExecutor, HtmlMarkup, Markup, XmlMarkup, Xhtml5Markup, Parser
Enclosing class:
MarkdownParser

@Named public static class MarkdownParser.MarkdownHtmlParser extends Xhtml5Parser
Internal parser for HTML generated by the Markdown library. 2 special things:
  • DIV elements are translated as Unknown Sink events
A code block does not carry the source decoration on its verbatim event, unlike the APT and XDoc modules. The language of a fenced code block has to be conveyed anyway, and the inline event emitted for the nested CODE element carries both that and the code semantics, so the decoration would add nothing. See fencedCodeBlockSinkEvent in the module tests for the exact events.