Intersphinx code links with myst-parser 2.0 #790
Unanswered
OriolAbril
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple documents that use myst and
{class}
,{func}
... roles to generate intersphinx links to python objects. I also have{ref}
and{doc}
ones. Reading the updated docs, concretely https://myst-parser.readthedocs.io/en/latest/syntax/cross-referencing.html#reference-roles (emphasis mine):so I have tried to update them to markdown syntax. I like the new syntax and it is quite convenient, but I don't seem to find how to use markdown/myst syntax instead of roles with custom text and have them rendered "as code". Here is one example:
looks like:
However, all of
looks like
I have also tried:
but none worked. On the other hand
looks like:
I don't care about the parenthesis and can turn them off in
conf.py
but want the code-like formattingBeta Was this translation helpful? Give feedback.
All reactions