I need to format the text content of a reference. In HTML I would do 
something like

    See <a href="set-foo">setting the <code>foo</code> in 
Bar-o-Matic&trade;</a>

In Sphinx RST this doesn't work, if i do

    See :ref:`setting the ``foo`` in Bar-o-Matic\ |trade| <set-foo>`

then the |trade| doesn't get substituted and the ``foo`` breaks the 
reference altogether.

How can I do this formatting? I need the automatic reference linkage of the 
:ref: directive but I also need to format the way it displays.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to