Liking cljdoc? Tell your friends :D

std.block.layout.common


*layout-fn*clj


format-multiline-stringclj

(format-multiline-string s)

makes a multiline string into a form

makes a multiline string into a form
raw docstring

join-block-arraysclj

(join-block-arrays spacing block-arrays)

joins block-arrays together with a spacing array

joins block-arrays together with a spacing array
raw docstring

join-blocksclj

(join-blocks spacing blocks)

joins blocks together with a spacing array

joins blocks together with a spacing array
raw docstring

layout-byclj

(layout-by arr indents-start {:keys [spec] :as opts})

general layout function

general layout function
raw docstring

layout-by-columnsclj

(layout-by-columns arr
                   indents-start
                   {:keys [indents spec] :or {indents 0} :as opts})

layout data using columns

layout data using columns
raw docstring

layout-by-rowsclj

(layout-by-rows arr
                indents-start
                {:keys [indents spec] :or {indents 0} :as opts})

layout data using rows

layout data using rows
raw docstring

layout-multiline-basicclj

(layout-multiline-basic form {:keys [indents] :or {indents 0} :as opts})

layout standard multiline forms

layout standard multiline forms
raw docstring

layout-multiline-callclj

(layout-multiline-call type
                       form
                       {:keys [indents spec] :or {indents 0} :as opts})

custom function for most list based functions

custom function for most list based functions
raw docstring

layout-multiline-call-setupclj

(layout-multiline-call-setup form
                             {:keys [indents spec] :or {indents 0} :as opts})

helper function to prep multiline form

helper function to prep multiline form
raw docstring

layout-multiline-hashmapclj

(layout-multiline-hashmap m {:keys [indents spec] :or {indents 0} :as opts})

layouts the hashmap

layouts the hashmap
raw docstring

layout-multiline-hashsetclj

(layout-multiline-hashset arr {:keys [indents] :or {indents 0} :as opts})

layouts the hashset

layouts the hashset
raw docstring

layout-multiline-hiccupclj

(layout-multiline-hiccup form {:keys [spec] :as opts})

generates hiccup code

generates hiccup code
raw docstring

layout-multiline-listclj

(layout-multiline-list form {:keys [spec] :as opts})

layout standard paired inputs

layout standard paired inputs
raw docstring

layout-multiline-pairedclj

(layout-multiline-paired form {:keys [indents spec] :or {indents 0} :as opts})

layout standard paired inputs

layout standard paired inputs
raw docstring

layout-multiline-vectorclj

(layout-multiline-vector arr {:keys [indents spec] :or {indents 0} :as opts})

layouts the vector

layouts the vector
raw docstring

layout-n-columnclj

(layout-n-column rows spec opts)

layout for arbitrary column formatting

layout for arbitrary column formatting
raw docstring

layout-n-column-alignclj

(layout-n-column-align rows
                       {:keys [col-compact col-align col-pad]
                        :or {col-align true}}
                       {:keys [indents] :or {indents 0} :as opts})

layout code based on n columns

layout code based on n columns
raw docstring

layout-n-column-padclj

(layout-n-column-pad rows
                     {:keys [col-pad]}
                     {:keys [indents] :or {indents 0} :as opts})

layouts a set of columns with single space

layouts a set of columns with single space
raw docstring

layout-n-column-spaceclj

(layout-n-column-space rows {:keys [indents] :or {indents 0} :as opts})

layouts a set of columns with single space

layouts a set of columns with single space
raw docstring

layout-one-columnclj

(layout-one-column vals {:keys [indents] :or {indents 0} :as opts})

layout for one column

layout for one column
raw docstring

layout-pair-blocksclj

(layout-pair-blocks form {:keys [indents spec] :or {indents 0} :as opts})

layout-pair-blocks

layout-pair-blocks
raw docstring

layout-single-rowclj

(layout-single-row row {:keys [spec indents] :or {indents 0} :as opts})

layouts a row

layouts a row
raw docstring

layout-two-columnclj

(layout-two-column
  pairs
  {:keys [col-align col-compact col-sort] :or {col-align true} :as spec}
  {:keys [indents] :or {indents 0} :as opts})

layout for 2 column bindings and :key val combinations

layout for 2 column bindings and :key val combinations
raw docstring

layout-with-bindingsclj

(layout-with-bindings form {:keys [indents] :or {indents 0} :as opts})

layout with bindings

layout with bindings
raw 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