KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do you format text within a denoted link in reStructuredText? Specifically, I wish to generate the following HTML from my rst: <a href="http://docs.python.org/library/optparse.html"><tt>optparse.OptionParser</tt> documentation documentation</a> The result should look like this: optparse.OptionParser documentation where the "optparse.OptionParser" portion is in fixed-width font. I tried ```optparse.OptionParser`` <http://docs.python.org/library/optparse.html>`_ however, this gave <tt class="docutils literal">`optparse.OptionParser</tt> documentation <<a class="reference external" href="http://docs.python.org/library/optparse.html">http://docs.python.org/library/optparse.html</a>>`_ which looks like this ``optparse.OptionParser documentation <http://docs.python.org/library/optparse.html>\ _
Tags (comma-separated)
Save Edits
Cancel