Skip to main content

nextjournal.markdown

-

  • ->hiccup

    Turns a markdown string or document node into hiccup. Optionally takes `hiccup-renderers` as first argument.

D

E

  • empty-doc

    Empty document to be used with `parse*`

I

  • into-hiccup

    Helper function to be used with custom hiccup renderer. Takes a hiccup vector, a context and a node, embeds node's `:...

N

P

  • parse

    Turns the given `markdown-string` into an AST of nested clojure data. Accepted `opts`: - `:text-tokenizers`: cust...

  • parse*

    Turns a markdown string into an AST of nested clojure data. Allows to parse multiple strings into the same document ...

T

  • table-alignment

    Takes a table-ish node, returns a map suitable for hiccup style attributes with a :text-align property.

  • toc->hiccup

    Transform a toc node into hiccup data, suitable for using as renderer function in hiccup transform, see [->hiccup](#mark...