class

TextWriter

@Js
class TextWriter : Obj

Text writer for markdown rendering

constructors make

methods writeChar

line

writeStripped

colon

resetBlock

block

popTight

Remove the last "tight" setting from the top of the stack

pushTight

Change whether blocks are tight or loose

whitespace

write

block This block()

colon This colon()

line This line()

make new make(OutStream out, LineBreakRendering lineBreakRendering)

popTight Void popTight()

Remove the last "tight" setting from the top of the stack.

pushTight Void pushTight(Bool tight)

Change whether blocks are tight or loose. Loose is the default where blocks are separated by a blank line. Tight is where blocks are not spearated by a blank line. Tight blocks are used in lists, if there are no blank lines within the list.

Note that changing this does not affect block separators that have already been enqueued with block; only future ones.

resetBlock This resetBlock()

whitespace This whitespace()

write This write(Str s)

writeChar This writeChar(Int ch)

writeStripped This writeStripped(Str s)

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST