code.doc.render.util

adjust-indent

added in 3.0

(adjust-indent s spaces)

adjusts indents of multiple lines

(adjust-indent “\n a\n b\n c” 2) => “\n a\n b\n c”

basic-html-escape

added in 3.0

(basic-html-escape data)

escape html tags for output

(basic-html-escape “<>”) => “<>”

basic-html-unescape

added in 3.0

(basic-html-unescape data)

unescape html output for rendering

join-string

added in 3.0

(join-string data)

join string in the form of vector or string

(join-string “hello”) => “hello”

(join-string “hello” " " “world”) => “hello world”

markup

added in 3.0

(markup data)

creates html from markdown script

(markup “#title”) => “

title