class markdown::HtmlContext

sys::Obj
  markdown::HtmlContext

@Js

Source

Context for rendering nodes to HTML

encodeUrl

Str encodeUrl(Str url)

Source

escapeHtml

Bool escapeHtml()

Source

extendAttrs

Str:Str? extendAttrs(Node node, Str tagName, Str:Str? attrs := [:])

Source

omitSingleParagraphP

Bool omitSingleParagraphP()

Source

percentEncodeUrls

Bool percentEncodeUrls()

Source

render

Void render(Node node)

Source

sanitizeUrls

Bool sanitizeUrls()

Source

softbreak

Str softbreak()

Source

urlSanitizer

UrlSanitizer urlSanitizer()

Source

writer

HtmlWriter writer { private set }

Source