在我的 Sphinx 文档中,我想创建一个词汇表,可能包含:math:
或其他角色:
.. glossary::
:math:`f(x)`
Description
有没有办法使用与词汇表条目具有相同样式的文本来引用此条目?
: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.
非常感谢您的帮助。