class markdown::TextWriter

sys::Obj
  markdown::TextWriter

@Js

Source

Text writer for markdown rendering

block

This block()

Source

colon

This colon()

Source

line

This line()

Source

make

new make(OutStream out, LineBreakRendering lineBreakRendering := LineBreakRendering.compact)

Source

popTight

Void popTight()

Source

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

pushTight

Void pushTight(Bool tight)

Source

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()

Source

whitespace

This whitespace()

Source

write

This write(Str s)

Source

writeChar

This writeChar(Int ch)

Source

writeStripped

This writeStripped(Str s)

Source