transform markdown data as returned by nextjournal.markdown/parse
into other formats, currently:
transform markdown data as returned by `nextjournal.markdown/parse` into other formats, currently: * hiccup
(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.
(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`.
(toc->hiccup {:as ctx :nextjournal.markdown.transform/keys [parent]}
{:as node :keys [attrs content children]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close