MyST-Parser
MyST-Parser copied to clipboard
Add Pandoc syntax for inline roles
For roles it would be great to support pandoc syntax (try):
[interpreted text]{role=}
[interpreted text]{role=custom}
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:
Hey there @hason - for requests to extend / change MyST syntax, it will be important to provide rationale for why a new syntax should be used, references to other places that it is used (e.g. in the pandoc documentation), reference implementations etc. Note that you can also write your own markdown-it-py extensions to support new syntax you'd like to write in. As a general rule, I don't think we want to casually add new syntactic pieces to MyST...it should only be done if there is really a strong need and after community conversation (though in general, it should be possible for people to write their own personal syntax extensions)
(the same applies to #245)