Liking cljdoc? Tell your friends :D

nextjournal.markdown

Markdown as data

Markdown as data
raw docstring

->hiccupclj/s

(->hiccup markdown-text)
(->hiccup ctx markdown-text)

Turns a markdown string into hiccup.

Turns a markdown string into hiccup.
sourceraw docstring

empty-docclj/s

source

parseclj/s

(parse markdown-text)
(parse ctx markdown-text)

Turns a markdown string into an AST of nested clojure data.

Accept options:

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

parse*clj/s

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

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

× close