Default indentation rules included with the library.
Default indentation rules included with the library.
(indent form)
(indent form indents)
Transform this form by indenting all lines their proper amounts.
Transform this form by indenting all lines their proper amounts.
(insert-missing-whitespace form)
Insert a space between abutting elements in the form.
Insert a space between abutting elements in the form.
(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.
(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.
(reformat-form form & [{:as opts}])
Transform this form by applying formatting rules to it.
Transform this form by applying formatting rules to it.
(reformat-string form-string & [options])
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.
(reindent form)
(reindent form indents)
Transform this form by rewriting all line indentation.
Transform this form by rewriting all line indentation.
(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.
(remove-surrounding-whitespace form)
Transform this form by removing any surrounding whitespace nodes.
Transform this form by removing any surrounding whitespace nodes.
(remove-trailing-whitespace form)
Transform this form by removing all trailing whitespace.
Transform this form by removing all trailing whitespace.
(rewrite-namespaces form opts)
Transform this form by rewriting any namespace forms.
Transform this form by rewriting any namespace forms.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close