-
Hey, not sure if this is some bug, but I always get two captions when converting a table from RST to MD:
Results in this in MD:
As you can see the caption is being doubled.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Two separate issues here: markdown writer: doubled captionIn the markdown writer, we fall back to HTML when tables can't be represented in native markdown. Now, I'm not sure why that is happening here, because this table can be represented in native markdown, and when I run the latest version of
Maybe you're using an older version? However, I can reproduce the doubled caption if I used a more complex table. E.g.
This issue should be simple to fix; we just need to make sure we omit the caption when falling back to HTML for a table. RST reader: incorrect table parsingI don't know why this table is parsed incorrectly, but that's an RST reader issue and will need to be fixed there. |
Beta Was this translation helpful? Give feedback.
Two separate issues here:
markdown writer: doubled caption
In the markdown writer, we fall back to HTML when tables can't be represented in native markdown. Now, I'm not sure why that is happening here, because this table can be represented in native markdown, and when I run the latest version of
pandoc -f rst -t markdown
, I getMaybe you're using an older version? However, I can reproduce the doubled caption if I used a more complex table. E.g.