Open
Description
I would like to be able to write
| header1 | header2 |
|---------|---------|
| r1c1 | r1c2 |
| r2c1 | r2c2 |
: mycaption {.myclass}
and get the table class assigned to the table
element, while removing it from the caption
.
I know I can achieve it with fenced div blocks, but the shorthand version would be nice.
In the real world I am using pandoc-crossref
, so my table usually looks like:
| header1 | header2 |
|---------|---------|
| r1c1 | r1c2 |
| r2c1 | r2c2 |
: mycaption {#tbl:id}
therefore I prefer the short version instead of wrapping the whole thing in extra div.