mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 13:51:29 +08:00
Org reader: add table labels to caption if both are present
The table `#+NAME:` or `#+LABEL:` is added to the table's caption in the form of an empty span with the label set as the span's ID. Closes: #5984
This commit is contained in:
@@ -15,7 +15,7 @@ pandoc -f org -t native
|
||||
| 2 | La |
|
||||
| 3 | La |
|
||||
^D
|
||||
[Table [Str "Lalelu."] [AlignDefault,AlignDefault] [0.0,0.0]
|
||||
[Table [Span ("tab",[],[]) [],Str "Lalelu."] [AlignDefault,AlignDefault] [0.0,0.0]
|
||||
[[Plain [Str "Id"]]
|
||||
,[Plain [Str "Desc"]]]
|
||||
[[[Plain [Str "1"]]
|
||||
|
||||
Reference in New Issue
Block a user