mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-14 03:25:51 +00:00
Previously a label was only emitted if the table was figurized (and not `.typst:no-figure`). Closes #11849.
494 B
494 B
% pandoc -t typst
| A | B |
|---|---|
| 1 | 2 |
: Example {#table-id}
^D
#figure(
align(center)[#table(
columns: 2,
align: (auto,auto,),
table.header([A], [B],),
table.hline(),
[1], [2],
)]
, caption: [Example]
, kind: table
)
<table-id>
% pandoc -t typst
| A | B |
|---|---|
| 1 | 2 |
: Example {#table-id .typst:no-figure}
^D
#table(
columns: 2,
align: (auto,auto,),
table.header([A], [B],),
table.hline(),
[1], [2],
)
<table-id>