diff options
author | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2018-09-09 10:50:49 +0300 |
---|---|---|
committer | Zane C. Bowers-Hadley <vvelox@vvelox.net> | 2018-09-09 10:50:49 +0300 |
commit | fd2a824010e0a583bfc7883bcb6b7cde94b5108a (patch) | |
tree | 520466ba878421a736145c4811e675416175e285 /README.md | |
parent | ade7ae5a318680d859f74e17e6ff16ec5b2ce1bb (diff) |
table sorting all works
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -16,6 +16,7 @@ Outrun with the power of a potato. Based on the Potato Dark theme with CSS bits * Inlined CSS for customizable colors via config. * Outrun inspired foreground colors on a dark background, by default. * Can turn of pagination. +* The ability to enable sorting of tables for pages. Use short code for Image Zoom. @@ -59,3 +60,28 @@ no_pagination = true A rutting about page. ``` + +### Sortable Tables + +So lets say you want to make the tables on a page sortable, you can now do this. +You can do this, by setting the Front Matter value "sort_tables" to true and in +the header it will include a link to a JS script in the js dir that does this. + +Below is a org mode example with sortable tables. + +``` +--- +title: "Tables" +date: 2018-09-02T22:41:40-05:00 +draft: false +sort_tables: true +--- + +| a | b | c | d | e | +|---+---+------------+---+---| +| 1 | f | 2017-03-14 | | | +| 2 | b | 2018-02-14 | | | +| 3 | e | 2017-03-15 | 4 | | +| 4 | d | 2012-03-14 | | 3 | + +``` |