type

HtmlSyntaxWriter

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

Bool close()

Close underlying output stream

make

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

writeDoc

This writeDoc(SyntaxDoc doc)

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

writeLine

This writeLine(SyntaxLine line)

Write a single syntax line as styled HTML

writeLines

This writeLines(SyntaxDoc doc)

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