Liking cljdoc? Tell your friends :D

cider.nrepl.middleware.format

Code and EDN formatting functionality.

Code and EDN formatting functionality.
raw docstring

cljfmtclj

(cljfmt code options)

The default code formatter. Reformats code with cljfmt, layering the editor-supplied options on top of the project's cljfmt configuration.

The default code formatter. Reformats `code` with cljfmt, layering the
editor-supplied `options` on top of the project's cljfmt configuration.
sourceraw docstring

format-code-replyclj

(format-code-reply {:keys [code options formatter]})
source

format-edn-replyclj

(format-edn-reply {:keys [edn :nrepl.middleware.print/print-fn]})
source

handle-formatclj

(handle-format handler msg)
source

zprintclj

(zprint code options)

A code formatter backed by zprint, for projects that prefer it over cljfmt. zprint must be on the classpath; the editor-supplied options are passed straight through to zprint.core/zprint-file-str as a zprint options map.

A code formatter backed by zprint, for projects that prefer it over cljfmt.
zprint must be on the classpath; the editor-supplied `options` are passed
straight through to `zprint.core/zprint-file-str` as a zprint options map.
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