You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sphinx has a csv-table directive. I have CSVs with Markdown content. I subclassed that directive to rewrite the Markdown as RST (using commonmark). I'd like to be able to do the same with MyST.
Describe the solution you'd like
Perhaps a method like to_rst that matches the API of to_docutils, etc.
Describe alternatives you've considered
Right now I'm using commonmark, which has an RST renderer, e.g.:
For the csv-table directive though, I'm not quite sure if I understand your use case, since myst-parser will already parse the Markdown in the CSV? (it does not need to be rewritten as RST)
Is your feature request related to a problem? Please describe.
Sphinx has a
csv-table
directive. I have CSVs with Markdown content. I subclassed that directive to rewrite the Markdown as RST (using commonmark). I'd like to be able to do the same with MyST.Describe the solution you'd like
Perhaps a method like
to_rst
that matches the API ofto_docutils
, etc.Describe alternatives you've considered
Right now I'm using commonmark, which has an RST renderer, e.g.:
See code https://github.com/readthedocs/commonmark.py/blob/master/commonmark/render/rst.py
The text was updated successfully, but these errors were encountered: