HTMLRenderer
laika.markdown.bundle.HTMLRenderer$
object HTMLRenderer
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
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HTMLRenderer.type