-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: RST input #69
Comments
Thanks for the attention you're giving to this @tomduck Just so you do not duplicate some analysis work I've done, here's my take on what needs to be patched in pandoc for this to become possible: jgm/pandoc#5619 |
Thanks, @ociule. Note that the markdown cross-referencing spec was designed by @scaramouche1 in this post. Something similar would be needed for rst. I don't expect to get to this soon, but want to keep tabs on the idea for future reference. There is a new 2.0.0 branch I am finalizing at the moment. |
I'm very happy to report that rst support already works in pandoc-tablenos. One just has to use the same trick md tables use, adding an id like `{#tbl:a} to the table caption. Here's a working example rst example:
As reported in jgm/pandoc#5619 this is transformed in the following native code:
Even if the Edit: this works for numbering the tables, not for referencing them. Can't find a way to get a Citation element out of pandoc with rst input. |
That is good to hear. Maybe it won't be a difficult as I first thought. |
The same trick does not work in fignos. The rst fragment:
The name option is ignored by pandoc.Readers.RST anyway. |
I am very interested in what pandoc-fignos does, but work with RST. It would be great if fignos handled rst input as well.
Originally posted by @ociule in #34 (comment)
The text was updated successfully, but these errors were encountered: