-
Notifications
You must be signed in to change notification settings - Fork 57
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
Support myst-parser #127
Comments
fwiw, I looked at this today. It seems Here's an example using reStructuredText: and here's the equivalent using Markdown: You can see that all the directives are outputted in raw form rather than being processed and nested as expected. I'm not sure how you'd go about fixing this, tbh. |
If anyone is interested in fixing this, there's a minimal reproducer here. |
Yes, and I think that's expected, I've used something similar when messing around with autodoc extensions. For that case, it was fine because the nature of the docstring (rst or md fomat) is known by the user, amd they could fine-tune and select the appropriate parser with The issue here are:
I think the only relevant references here is |
Currently the generated code is specific for
rst
documents such that the following does not work:There is a workaround using:
However it would be good to have built-in to use the appropriate parser (i.e. rst) for the generated code.
The text was updated successfully, but these errors were encountered: