-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Milestone
Description
Describe the bug
Using a :ref:
to a label of a heading that contains a literal is not rendered as a literal (monospaced font)
To Reproduce
Steps to reproduce the behavior:
###
Bla
###
.. _mylabel:
This header has a ``literal``
=============================
This is a reference to the header above :ref:`mylabel`
Produces the following HTML and PDF:
Expected behavior
The word "literal" in the reference to be in a monospaced font (as well as in italics in PDF)
Environment info
- Sphinx version: 1.8.5
jluebbe