classafFandoc::HtmlDocWriter
sys::Obj afFandoc::HtmlDocWriter : fandoc::DocWriter
@
Js
- cssClasses
- fullyLoaded
static HtmlDocWriter fullyLoaded()
A HTML writer that performs pre-block-processing for tables and syntax colouring.
(EveryLayout processors are preferred over BootStrap.)
- htmlNode
protected HtmlNode? htmlNode
- imageProcessors
ElemProcessor[] imageProcessors := ElemProcessor[,]
- invalidLinkProcessor
ElemProcessor? invalidLinkProcessor
- linkProcessors
ElemProcessor[] linkProcessors := ElemProcessor[,]
- linkResolvers
LinkResolver[] linkResolvers := LinkResolver[,]
- log
Log log := this.typeof().pod().log
- original
static HtmlDocWriter original()
A simple HTML writer that mimics the original; no invalid links and no pre-block-processing.
- paraProcessors
ElemProcessor[] paraProcessors := ElemProcessor[,]
- parse
Doc parse(Str fandoc, Str? loc := null)
Parses the given string into a Fandoc document. Document headers are automatically parsed if they're supplied. Parsing errors are inserted into the start of the documents.
- parseAndWriteToStr
Str parseAndWriteToStr(Str fandoc, Str? loc := null)
Writes the given fandoc to a string.
- preProcessors
Str:PreProcessor preProcessors := [Str:PreProcessor][:]
- processImage
- processLink
- processPara
- processPre
- resolveLink
virtual Uri? resolveLink(HtmlElem html, Str url)
Calls the
LinkResolvers
looking for valid links.- str
protected StrBuf str := StrBuf.<ctor>()
- toHtml
Str toHtml()
- toHtmlNode
- writeToStr
Writes the given elem to a string.