Liking cljdoc? Tell your friends :D

table.core


*style*clj


format-cellclj

(format-cell string width)

tableclj

(table & args)

Generates an ascii table for almost any input that fits in your terminal. Multiple table styles are supported.

Options:

  • :sort When set with field name, sorts by field name. When set to true sorts by first column. Default is false.
  • :fields An optional vector of fields used to control ordering of fields. Only works with rows that are maps.
  • :desc When set to true, displays row count after table. Default is nil.
  • :style Sets table style. Available styles are :plain, :org, :unicode and :github-markdown. Default is :plain.
Generates an ascii table for almost any input that fits in your terminal.
Multiple table styles are supported.

Options:

* :sort   When set with field name, sorts by field name. When set to true
          sorts by first column. Default is false.
* :fields An optional vector of fields used to control ordering of fields.
          Only works with rows that are maps.
* :desc   When set to true, displays row count after table. Default is nil.
* :style  Sets table style. Available styles are :plain, :org, :unicode and
          :github-markdown. Default is :plain.
raw docstring

table-strclj

(table-str args & {:keys [style] :or {style :plain} :as options})

Same options as table but returns table as a string

Same options as table but returns table as a string
raw docstring

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

× close