Skip to content

4.1.7

Compare
Choose a tag to compare
@kepano kepano released this 21 Nov 19:30
· 1102 commits to master since this release

New helper classes for tables and Dataview

The following classes can be added on a per-file basis using the cssClasses YAML tag. The classes are composable, so you can include more than one to combine effects.

Class Description
table-small Use small font size in tables
table-tiny Use tiny font size in tables
table-lines Add borders around all table cells
row-lines Add borders between table rows
col-lines Add borders between table columns
row-alt Add striped background to alternating table rows
col-alt Add striped background to alternating table columns

Screenshots

Screenshots show Dataview tables with the Sortable plugin

Default

Screen Shot 2021-11-21 at 11 20 28 AM

Borders and alternating rows

cssClasses: table-lines, row-alt
Screen Shot 2021-11-21 at 11 20 59 AM

Small fonts, row borders and alternating rows (dark mode)

cssClasses: table-small, row-lines, row-alt
Screen Shot 2021-11-21 at 11 34 53 AM

Column borders

cssClasses: col-lines
Screen Shot 2021-11-21 at 11 23 03 AM

Row borders

cssClasses: row-lines
Screen Shot 2021-11-21 at 11 28 40 AM

Small fonts and alternating columns

cssClasses: table-small, col-alt
Screen Shot 2021-11-21 at 11 25 08 AM

Tiny fonts and alternating rows

cssClasses: table-tiny, row-alt
Screen Shot 2021-11-21 at 11 24 50 AM