class

HtmlDocWriter

@Js
class HtmlDocWriter : Obj, DocWriter

HtmlDocWriter outputs a fandoc model to XHTML

See pod doc for usage.

constructors make

fields onLink

Callback to perform link resolution and checking for every Link element

onImage

Callback to perform image link resolution and checking

out

methods docHead

docStart

text

docEnd

elemEnd

elemStart

docEnd virtual Void docEnd(Doc doc)

docHead virtual Void docHead(Doc doc)

docStart virtual Void docStart(Doc doc)

elemEnd virtual Void elemEnd(DocElem elem)

elemStart virtual Void elemStart(DocElem elem)

make new make(OutStream out)

onImage |Image|? : onImage

Callback to perform image link resolution and checking

onLink |Link|? : onLink

Callback to perform link resolution and checking for every Link element

out OutStream : out

text virtual Void text(DocText text)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST