All notable changes to this project are documented here. The format follows Keep a Changelog.
:title caption support to the high-level table API, rendered as a centered banner for text formats and as a <caption> element for :html.:footers to the table API, mirroring :headers for totals and trailing rows.:cell-fn decoration callback so per-cell styling (such as ANSI color wrapping) is possible without :raw? true post-processing.:fill? to the table API so generated formats honor :width via fill markers in cell padding.layout-into! and table-into! writer sinks that stream rendered output to a java.io.Writer.parse-row-layout and explain-row-layout so callers no longer have to pass a positional boolean.doc/presets.md) and CLI reference (doc/cli.md).bb bb-format task that runs the CLI in tens of milliseconds with no JVM startup.bb bb-test) that exercises every namespace bb supports.--width CLI flag wired through to fill-aware output formats.(require ...)d directly from a bb script.clj-string-layout.impl.box so presets and the high-level table API share one source of truth for each box style.clj-string-layout.layout compatibility shim from predicates and presets, shrinking the file from 226 lines to 57 while keeping all public aliases.doc/presets.md, CLI reference to doc/cli.md.psql and org preset rule rows so the separator length matches the data row width.:markdown no longer treats the first data row as a header.table/table now throws :invalid-table-column for unknown :align values instead of silently defaulting to left.table/table now throws :empty-table-spec up front when neither :rows, :headers, nor :columns is supplied.:html output now honors :raw?. :width and :display-width are documented as intentionally not applying to structural HTML.clj-string-layout.table APIs with named formats, column specs, map-row support, and overflow policies.:ascii-box and :ascii-double-box table formats with Unicode box-drawing borders.clj-string-layout.width/ansi-width and strip-ansi helpers for ANSI-styled terminal output.codepoint-width, unicode-width, and terminal-width display-width helpers.bb.edn tasks for formatting, testing, linting, and jar builds.:bench alias and benchmark runner for common layout paths.ex-data reference documentation.clj-string-layout.escape/csv-cell for CSV cell escaping.layout-str, layout-seq, parse-layout, and explain-layout public helpers.\f, \F, \{, and \}.:display-width, explicit :col-widths, and :row-count options for wide glyphs and large data sets.clj-string-layout.escape.deps.edn, and tools.build.clojure.test.:repeat-for as the clearer key for repeat-group column predicates while keeping column-layout :apply-for compatibility.version.edn and kept deploy-only dependencies out of normal jar builds.com.github.mbjarland/clj-string-layout to io.github.mbjarland/clj-string-layout.</table>.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |