Sphinx: Multiple (Nested) Roles
问题 in my Sphinx docs I would like to create a glossary, potentially containing :math: , or other roles: .. glossary:: :math:`f(x)` Description Is there any way to reference this entry with a text that has the same style as the glossary entry? :term:`f(x)` Works, but is rendered as a plain hyperlink. I want a hyperlink with the original styling instead: :term:`:math:`f(x)`` Does not work. :term:`:math:`f(x)` <f(x)>` Also doesnt. Many thanks for the help. 来源: https://stackoverflow.com/questions