MyST-Parser
MyST-Parser copied to clipboard
Autoclass directive works in rST but not Markdown
Describe the bug
When I try to use autodoc
directives like autoclass
in Markdown format, they do not work properly. If they are used inside an {eval-rst}
block, they work fine.
Comparing the output looks like this:
I may be making a formatting or other mistake, but {note}
and other directives appear to work fine.
Reproduce the bug
- Create a Markdown file with this content, where the
autoclass
directive is used once inside aneval-rst
block which succeeds, and once as a directive from MyST as described here, which fails. - Build it with Sphinx and Myst enabled.
- It will look like the screenshot further up.
List your environment
Sphinx 1.8.5, myst-parser 0.15.2
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada: