type

HtmlSyntaxWriter

src class HtmlSyntaxWriter : Obj

HtmlSyntaxWriter outputs a SyntaxDoc to HTML

constructors

methods

close

Close underlying output stream

writeDoc

Write an entire HTML file with proper head, body types using default CSS

writeLine

Write a single syntax line as styled HTML

writeLines

Write the lines of the document as HTML elements.

Slot Details

close

src Bool close()

Close underlying output stream

make

src new make(OutStream out := Env.cur().out())

writeDoc

src This writeDoc(SyntaxDoc doc)

Write an entire HTML file with proper head, body types using default CSS

writeLine

src This writeLine(SyntaxLine line)

Write a single syntax line as styled HTML

writeLines

src This writeLines(SyntaxDoc doc)

Write the lines of the document as HTML elements. This method does not generate HTML head/body tags.