diff options
author | jfbu <2589111+jfbu@users.noreply.github.com> | 2022-06-26 10:51:39 +0300 |
---|---|---|
committer | jfbu <2589111+jfbu@users.noreply.github.com> | 2022-06-26 10:51:39 +0300 |
commit | f74cc3fcaad495e43a9b7d25230d1abe95ebc0b3 (patch) | |
tree | 27837e2ab09cb7634ea76511e3d5c4a879481bbe | |
parent | 8ecbe8a15a4d7582fd6ae756f3426b491e858bec (diff) |
Minor cross-linking improvements in usage/restructuredtext/roles.rst
-rw-r--r-- | doc/usage/restructuredtext/roles.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/usage/restructuredtext/roles.rst b/doc/usage/restructuredtext/roles.rst index e2755dd4e..b830c0d58 100644 --- a/doc/usage/restructuredtext/roles.rst +++ b/doc/usage/restructuredtext/roles.rst @@ -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 @@ -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 |