Liking cljdoc? Tell your friends :D

cljfmt.format.core


default-indentsclj

Default indentation rules included with the library.

Default indentation rules included with the library.
sourceraw docstring

indentclj

(indent form indents)

Transform this form by indenting all lines their proper amounts.

Transform this form by indenting all lines their proper amounts.
sourceraw docstring

insert-missing-whitespaceclj

(insert-missing-whitespace form)

Insert a space between abutting elements in the form.

Insert a space between abutting elements in the form.
sourceraw docstring

insert-padding-linesclj

(insert-padding-lines form padding-lines)

Edit the form to replace consecutive blank lines with a single line.

Edit the form to replace consecutive blank lines with a single line.
sourceraw docstring

line-break-functionsclj

(line-break-functions form)

Transform this form by applying line-breaks to defn and fn forms.

Transform this form by applying line-breaks to `defn` and `fn` forms.
sourceraw docstring

reformat-formclj

(reformat-form form config)

Transform this form by applying formatting rules to it.

Transform this form by applying formatting rules to it.
sourceraw docstring

reformat-stringclj

(reformat-string form-string)
(reformat-string form-string config)

Helper method to transform a string by parsing it, formatting it, then printing it.

Helper method to transform a string by parsing it, formatting it, then
printing it.
sourceraw docstring

reindentclj

(reindent form indents)

Transform this form by rewriting all line indentation.

Transform this form by rewriting all line indentation.
sourceraw docstring

remove-consecutive-blank-linesclj

(remove-consecutive-blank-lines form max-consecutive)

Edit the form to replace consecutive blank lines with a single line.

Edit the form to replace consecutive blank lines with a single line.
sourceraw docstring

remove-surrounding-whitespaceclj

(remove-surrounding-whitespace form)

Transform this form by removing any surrounding whitespace nodes.

Transform this form by removing any surrounding whitespace nodes.
sourceraw docstring

remove-trailing-whitespaceclj

(remove-trailing-whitespace form)

Transform this form by removing all trailing whitespace.

Transform this form by removing all trailing whitespace.
sourceraw docstring

rewrite-namespacesclj

(rewrite-namespaces form opts)

Transform this form by rewriting any namespace forms.

Transform this form by rewriting any namespace forms.
sourceraw docstring

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

× close