Liking cljdoc? Tell your friends :D

nextjournal.markdown.transform

transform markdown data as returned by nextjournal.markdown/parse into other formats, currently:

  • hiccup
transform markdown data as returned by `nextjournal.markdown/parse` into other formats, currently:
* hiccup
raw docstring

->hiccupclj/s

(->hiccup node)
(->hiccup ctx {:as node t :type})

->idclj/s


->textclj/s

(->text {:as _node :keys [text content]})

default-hiccup-renderersclj/s


guardclj/s

(guard pred val)

heading-markupclj/s

(heading-markup {l :heading-level})

hydrate-tocclj/s

(hydrate-toc {:as doc :keys [toc]})

Scans doc contents and replaces toc node placeholder with the toc node accumulated during parse.

Scans doc contents and replaces toc node placeholder with the toc node accumulated during parse.
raw docstring

into-markupclj/s

(into-markup mkup ctx {:as node :keys [text content]})

Takes a hiccup vector, a context and a node, puts node's :content into markup mapping through ->hiccup.

Takes a hiccup vector, a context and a node, puts node's `:content` into markup mapping through `->hiccup`.
raw docstring

table-alignmentclj/s

(table-alignment {:keys [style]})

toc->hiccupclj/s

(toc->hiccup {:as ctx :nextjournal.markdown.transform/keys [parent]}
             {:as node :keys [content children]})

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

× close