(apply-fn-to-strings f tree)
Walk tree, applying f to each string. If multiple terms result, put them inside a :span tag.
Walk tree, applying f to each string. If multiple terms result, put them inside a :span tag.
(get-plain-lists txt)
Get plain lists and surrounding content out of txt. Defer actual parsing of plain lists.
Get plain lists and surrounding content out of txt. Defer actual parsing of plain lists.
(items-seq-to-tree s)
Convert seq of [level, content] pairs into a tree using zippers. Assumes deltas are a whole multiple of two for now.
Convert seq of [level, content] pairs into a tree using zippers. Assumes deltas are a whole multiple of two for now.
(strip-leading-spaces txt)
Strip leading spaces from every line in input.
Strip leading spaces from every line in input.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close