nextjournal.markdown
-
Turns a markdown string or document node into hiccup. Optionally takes `hiccup-renderers` as first argument.
function([markdown] [hiccup-renderers markdown])
D
Default map of node type -> hiccup renderers, to be used with `->hiccup`
value
E
Empty document to be used with `parse*`
value
I
Helper function to be used with custom hiccup renderer. Takes a hiccup vector, a context and a node, embeds node's `:...
function
N
Convert node into text.
function
P
Turns the given `markdown-string` into an AST of nested clojure data. Accepted `opts`: - `:text-tokenizers`: cust...
function([markdown-string] [opts markdown-string])
Turns a markdown string into an AST of nested clojure data. Allows to parse multiple strings into the same document ...
function([markdown-text] [ctx markdown-text])
T
Takes a table-ish node, returns a map suitable for hiccup style attributes with a :text-align property.
functionTransform a toc node into hiccup data, suitable for using as renderer function in hiccup transform, see [->hiccup](#mark...
function