(adjust-indent s spaces)
fixes indentation for code that is off slightly due to alignment
(adjust-indent "(+ 1\n 2)" 2) => "(+ 1\n 2)"
fixes indentation for code that is off slightly due to alignment (adjust-indent "(+ 1\n 2)" 2) => "(+ 1\n 2)"
(basic-html-escape data)
escapes characters using standard html format
(basic-html-escape "<>") => "<>"
escapes characters using standard html format (basic-html-escape "<>") => "<>"
(basic-html-unescape data)
unescapes characters with standard html format
(basic-html-unescape """) => """
unescapes characters with standard html format (basic-html-unescape "&quot;") => """
(join data)
like string/join but will return the input if it is a string
(join "hello") => "hello"
(join ["hello" " " "world"]) => "hello world"
like string/join but will return the input if it is a string (join "hello") => "hello" (join ["hello" " " "world"]) => "hello world"
(markup data)
calls the markdown library to create markup from a string
calls the markdown library to create markup from a string
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close