Replies: 1 comment 2 replies
-
Heya, well in myst-parser it literally just pipes this directly through to docutils/sphinx: https://github.com/executablebooks/MyST-Parser/blob/7692f87610976a61af522aef663576f11f600237/myst_parser/mdit_to_docutils/base.py#L1488 so there its handled exactly the same |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I have two questions:
First one with respect to mystRole in the form
{name}`text`
. Sphinx/(docutils?) seem to distinguish domain/role with the:
. myst goes simply with name. I'm guessing this is on purpose and I don't believe you have any reasons to track domain and role separately ? I haven't been able to find a case in rst-to-myst where there is a directive with explicit domain and role.I guess if I'm generating mystRole from my own rst parsing that have an explicit domain, I can just use
domain+':'+role
and the mystRole name ?{ref}`...`
was missing and could have added one.Beta Was this translation helpful? Give feedback.
All reactions