type

MarkdownDocWriter

src @Js
class MarkdownDocWriter : Obj, DocWriter

MarkdownDocWriter outputs a fandoc model to Markdown

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)

main

src static Void main(Str[] args := Env.cur().args())

make

src new make(OutStream out := Env.cur().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)