package bundle
- Alphabetic
- Public
- All
Value Members
-
object
HTMLRenderer
Renderer for verbatim HTML elements.
Renderer for verbatim HTML elements. Since verbatim HTML is treated as an optional feature by this library as it aims to also support renderers for other formats than HTML, the nodes in the document tree produced by the verbatim HTML parsers are not known by the standard renderers. This partial renderer complements the regular HTML renderer and simply writes the HTML elements out as they were read. Of course, in contrast to regular text, without escaping any of the special HTML characters.
It must be applied explicitly as part of the
VerbatimHTML
bundle when enabling verbatim HTML:val transformer = Transformer.from(Markdown).to(HTML).withRawContent
-
object
VerbatimHTML extends ExtensionBundle
Markdown extension that also parses verbatim HTML elements alongside the standard Markdown markup.
Markdown extension that also parses verbatim HTML elements alongside the standard Markdown markup.
Since verbatim HTML is treated as an optional feature by this library as it aims to also support renderers for other formats than HTML, this extension is disabled by default.
You can enable it with the Transform API:
val transformer = Transformer.from(Markdown).to(HTML).withRawContent