class

HtmlDocWriter

@Js
class HtmlDocWriter : Obj, DocWriter

HtmlDocWriter outputs a fandoc model to XHTML

See pod doc for usage.

constructors make

fields onImage

Callback to perform image link resolution and checking

onLink

Callback to perform link resolution and checking for every Link element

out

methods docEnd

docHead

docStart

elemEnd

elemStart

text

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 := Env.cur().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.6 ∙ 21-Jul-2026 09:48 EDT