Liking cljdoc? Tell your friends :D

meme.alpha.emit.printer

Meme printer: Clojure forms → Doc trees. Builds Wadler-Lindig Doc trees from Clojure forms, handling meme syntax (call notation, sugar, metadata, comments) and Clojure output mode. Delegates to render for Doc algebra and layout.

Meme printer: Clojure forms → Doc trees.
Builds Wadler-Lindig Doc trees from Clojure forms, handling meme syntax
(call notation, sugar, metadata, comments) and Clojure output mode.
Delegates to render for Doc algebra and layout.
raw docstring

extract-commentsclj/s

(extract-comments ws)

Extract comment lines from a :ws metadata string. Returns a vector of trimmed comment strings, or nil.

Extract comment lines from a :ws metadata string.
Returns a vector of trimmed comment strings, or nil.
sourceraw docstring

to-docclj/s

(to-doc form)
(to-doc form mode)

Convert a Clojure form to a Doc tree, with comment attachment. Comments from :ws metadata are emitted only in break context (via DocIfBreak). mode is :meme (default) or :clj.

Convert a Clojure form to a Doc tree, with comment attachment.
Comments from :ws metadata are emitted only in break context (via DocIfBreak).
mode is :meme (default) or :clj.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close