Shiraz is a small Tiddlywiki 5 plugin contains macros, stylesheets, templates, snippets, images, static tables, dynamic tables and acts as a starter kit.
This is perfectly correct for the output from TW tables using header rows, e.g.,
| Header 1 | Header 2 |h
I, however, wrote a macro which generated tables with header cells tagged with thead > th. When I attempted to style them with Shiraz stylesheets, the headers did not style correctly. I fixed the problem by altering the macro to use td tags for header cells.
If you extend your stylesheets to also support header cells which use th tags, it will improve the usability of your plugin for those producing tables from custom macros.
If you're okay with this change, I'm willing to do a pull request to implement it.
The macros in
$:/plugins/.mr/shiraz/stylesheet/tables
style only header cells tagged withthead
>td
, e.g.,This is perfectly correct for the output from TW tables using header rows, e.g.,
I, however, wrote a macro which generated tables with header cells tagged with
thead
>th
. When I attempted to style them with Shiraz stylesheets, the headers did not style correctly. I fixed the problem by altering the macro to usetd
tags for header cells.If you extend your stylesheets to also support header cells which use
th
tags, it will improve the usability of your plugin for those producing tables from custom macros.If you're okay with this change, I'm willing to do a pull request to implement it.