mixinafFandoc::DocWriter
afFandoc::DocWriter
@
Js
An intelligent interface that gives context to what's being written.
- escapeText
virtual Str escapeText(DocElem elem, Str text)
Override to perform text escaping.
- parseAndWriteToStr
Str parseAndWriteToStr(Str fandoc)
Writes the given fandoc to a string. Header properties are auto-dectected.
- render
abstract Void render(OutStream out, DocElem elem, Str innerText)
Implement to render the given elem to the
OutStream
.- writeToStr
Writes the given elem to a string.