class markdown::HtmlWriter

sys::Obj
  markdown::HtmlWriter

@Js

Source

HTML writer for markdown rendering

line

This line()

Source

write a newline character if the last character written wasn't a newline

make

new make(OutStream out)

Source

raw

This raw(Str s)

Source

Write the raw string

tag

This tag(Str name, [Str:Str?]? attrs := null, Bool empty := false)

Source

Write a tag with the given name ("foo" - opening tag, "/foo" - closing tag) with the given attributes. If empty is true an empty tag is written (e.g. <img />)

text

This text(Str text)

Source

Write the escaped text

w

protected This w(Str s)

Source