Markdown as data
Markdown as data
(->hiccup markdown-text)
(->hiccup ctx markdown-text)
Turns a markdown string into hiccup.
Turns a markdown string into hiccup.
(parse markdown-text)
(parse ctx markdown-text)
Turns a markdown string into an AST of nested clojure data.
Accept options:
:text-tokenizers
to customize parsing of text in leaf nodes (see https://nextjournal.github.io/markdown/notebooks/parsing_extensibility).Turns a markdown string into an AST of nested clojure data. Accept options: - `:text-tokenizers` to customize parsing of text in leaf nodes (see https://nextjournal.github.io/markdown/notebooks/parsing_extensibility).
(parse* markdown-text)
(parse* ctx markdown-text)
Turns a markdown string into an AST of nested clojure data.
Allows to parse multiple strings into the same document
e.g. (-> u/empty-doc (parse* text-1) (parse* text-2))
.
Turns a markdown string into an AST of nested clojure data. Allows to parse multiple strings into the same document e.g. `(-> u/empty-doc (parse* text-1) (parse* text-2))`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close