Skip to content

Commit

Permalink
Minor cross-linking improvements in usage/restructuredtext/roles.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Jun 26, 2022
1 parent 8ecbe8a commit f74cc3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/usage/restructuredtext/roles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ Inline code highlighting
Unlike the :rst:dir:`code-block` directive, this role does not respect the
default language set by the :rst:dir:`highlight` directive.

To enable syntax highlighting, you must first use the ``role`` directive to
define a custom ``code`` role for a particular language:
To enable syntax highlighting, you must first use the Docutils :dudir:`role`
directive to define a custom role associated with a specific language:

.. code-block:: rst
Expand Down Expand Up @@ -446,7 +446,7 @@ different style:
emphasized.

If you don't need the "variable part" indication, use the standard
````code```` instead.
:rst:role:`code` role instead.

.. versionchanged:: 1.8
Allowed to escape curly braces with backslash
Expand Down

0 comments on commit f74cc3f

Please sign in to comment.