Built-in layout configuration maps for common text, Markdown, and HTML tables.
Presets are plain layout config maps that can be passed to layout, layout-str, or layout-seq. They can also be assoc'ed with options such as :width, :display-width, :col-widths, or :raw?. HTML and Markdown presets emit cell contents verbatim; use clj-string-layout.escape for untrusted data.
Built-in layout configuration maps for common text, Markdown, and HTML tables. Presets are plain layout config maps that can be passed to layout, layout-str, or layout-seq. They can also be assoc'ed with options such as :width, :display-width, :col-widths, or :raw?. HTML and Markdown presets emit cell contents verbatim; use clj-string-layout.escape for untrusted data.
Unicode box-drawing table with centered cells.
Uses single-line box characters and sizes columns from the input data.
Unicode box-drawing table with centered cells. Uses single-line box characters and sizes columns from the input data.
Width-filling Unicode box-drawing table with centered cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Unicode box-drawing table with centered cells. Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Unicode box-drawing table with left-aligned cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Unicode box-drawing table with left-aligned cells. Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Unicode box-drawing table with right-aligned cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Unicode box-drawing table with right-aligned cells. Column padding uses fill markers so the rendered table expands toward :width.
Unicode box-drawing table with left-aligned cells.
Uses single-line box characters and sizes columns from the input data.
Unicode box-drawing table with left-aligned cells. Uses single-line box characters and sizes columns from the input data.
Unicode box-drawing table with right-aligned cells.
Uses single-line box characters and sizes columns from the input data.
Unicode box-drawing table with right-aligned cells. Uses single-line box characters and sizes columns from the input data.
HTML table skeleton that emits compact rows with verbatim cell contents.
Produces <table>, one <tr> per input row, and </table>. Cell values are placed inside <td> elements without escaping; use clj-string-layout.escape/html for untrusted values.
HTML table skeleton that emits compact rows with verbatim cell contents. Produces <table>, one <tr> per input row, and </table>. Cell values are placed inside <td> elements without escaping; use clj-string-layout.escape/html for untrusted values.
HTML table skeleton with left-aligned cell contents in the generated source.
Produces the same tags as layout-html-table, but pads cells in the source for readability. Cell values are not escaped automatically.
HTML table skeleton with left-aligned cell contents in the generated source. Produces the same tags as layout-html-table, but pads cells in the source for readability. Cell values are not escaped automatically.
Markdown pipe table with centered columns.
Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Markdown pipe table with centered columns. Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with centered columns.
Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with centered columns. Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with left-aligned columns.
Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with left-aligned columns. Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with right-aligned columns.
Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Width-filling Markdown pipe table with right-aligned columns. Fill markers expand cell padding toward :width. Escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Markdown pipe table with left-aligned columns.
Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Markdown pipe table with left-aligned columns. Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Markdown pipe table with right-aligned columns.
Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Markdown pipe table with right-aligned columns. Cell contents are emitted verbatim; escape untrusted values with clj-string-layout.escape/markdown-cell before rendering.
Norton Commander-style table with centered cells.
Uses double outer borders and single interior separators.
Norton Commander-style table with centered cells. Uses double outer borders and single interior separators.
Width-filling Norton Commander-style table with centered cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Norton Commander-style table with centered cells. Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Norton Commander-style table with left-aligned cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Norton Commander-style table with left-aligned cells. Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Norton Commander-style table with right-aligned cells.
Column padding uses fill markers so the rendered table expands toward :width.
Width-filling Norton Commander-style table with right-aligned cells. Column padding uses fill markers so the rendered table expands toward :width.
Norton Commander-style table with left-aligned cells.
Uses double outer borders and single interior separators.
Norton Commander-style table with left-aligned cells. Uses double outer borders and single interior separators.
Norton Commander-style table with right-aligned cells.
Uses double outer borders and single interior separators.
Norton Commander-style table with right-aligned cells. Uses double outer borders and single interior separators.
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 |