type

FandocDocWriter

src @Js
class FandocDocWriter : Obj, DocWriter

FandocDocWriter outputs a fandoc model to plain text fandoc format

constructors

fields

onImage

Callback to perform image link resolution and checking

onLink

Callback to perform link resolution and checking for every Link element

methods

Slot Details

docEnd

src virtual override Void docEnd(Doc doc)

docStart

src virtual override Void docStart(Doc doc)

elemEnd

src virtual override Void elemEnd(DocElem elem)

elemStart

src virtual override Void elemStart(DocElem elem)

make

src new make(OutStream out)

onImage

src |Image|? onImage := null

Callback to perform image link resolution and checking

src |Link|? onLink := null

Callback to perform link resolution and checking for every Link element

text

src virtual override Void text(DocText text)