If you only want to inject CSS classes, you are maybe better off using a CSS block attribute. Then you do not have to handle the table content separately.
Words prefixed with a dot are treated as classes; words prefixed with a # are treated as identifiers (id attribute). E.g.: { .this-is-a-class .another-class #this-is-an-identifier }
Thanks for all the pointers and info. I must be doing something wrong since I just get the { ... } line in the first cell of the next row of the tableā¦?
This footnote[^1] works.
| A | Table |
|---|---|
| but | this[^2] footnote doesn't |
{ .table .table-striped .table-bordered .table-sm }
[^1]: First
[^2]: Second
hugo v0.87.0-B0C541E4 linux/amd64 BuildDate=2021-08-03T10:57:28Z VendorInfo=gohugoio
This footnote[^1] works.
| A | Table |
|---|---|
| and | this[^2] works too!|
{ .table .table-striped .table-bordered .table-sms }
[^1]: First
[^2]: Second
@jmooring That was the missing piece of info! By default block = false.
BTW: The pointer to this section of the Goldmark documentation shows a page that reads āCurrently only headings support attributes.ā which is rather confusing.