Substitutions Next To Angle Brackets In Sphinx
I'm trying to use substitutions in a parsed literal block in my Sphinx documentation like this: ... |release|
Solution 1:
This works:
.. parsed-literal::
<version>\ |release|\ </version>
.. |release| replace:: 1.7.3
Reference: http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#escaping-mechanism
Post a Comment for "Substitutions Next To Angle Brackets In Sphinx"