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
class Object
trait Matchable
class Any

Value members

Concrete methods

def prepareAttributeValue(spans: List[TextContainer]): String
def tagStart(tagName: String, attributes: List[HTMLAttribute]): String

Concrete fields

val custom: PartialFunction[(HTMLFormatter, Element), String]