Liking cljdoc? Tell your friends :D

lucid.publish.render.util


adjust-indentclj

(adjust-indent s spaces)

adjusts indents of multiple lines

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

adjusts indents of multiple lines

(adjust-indent "\n    a\n    b\n    c"
               2)
=> "\n  a\n  b\n  c"
raw docstring

basic-html-escapeclj

(basic-html-escape data)

escape html tags for output

(basic-html-escape "<>") => "<>"

escape html tags for output

(basic-html-escape "<>")
=> "&lt;&gt;"
raw docstring

basic-html-unescapeclj

(basic-html-unescape data)

unescape html output for rendering

unescape html output for rendering
raw docstring

join-stringclj

(join-string data)

join string in the form of vector or string

(join-string "hello") => "hello"

(join-string ["hello" " " "world"]) => "hello world"

join string in the form of vector or string

(join-string "hello") => "hello"

(join-string ["hello" " " "world"]) => "hello world"
raw docstring

markupclj

(markup data)

creates html from markdown script

(markup "#title") => "<h1>title</h1>"

creates html from markdown script

(markup "#title")
=> "<h1>title</h1>"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close