stevecat/table-magic

Support row headers

Opened this issue · 2 comments

Would be great to be able to specify row headers, particularly for HTML (not sure this is natively supported in Markdown, for example). Perhaps a toggle of "Enable row headers" which makes all rows in the first column marked as <th>

Ooh, that's a good idea. Currently table-magic will automatically set the first row to <thead> and <th> to match how this would be displayed on GitHub.

I'll look at adding a toggle, like you suggest, as not everyone may need row headers.

Ooh, didn't realise it does mark it up that way automatically - smart 👀