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})
source

->textclj/s

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

default-hiccup-renderersclj/s

source

guardclj/s

(guard pred val)
source

heading-markupclj/s

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

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.
sourceraw 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`.
sourceraw docstring

table-alignmentclj/s

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

toc->hiccupclj/s

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

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

× close