diff --git a/autotests/folding/highlight.rst.fold b/autotests/folding/highlight.rst.fold --- a/autotests/folding/highlight.rst.fold +++ b/autotests/folding/highlight.rst.fold @@ -64,3 +64,5 @@ Definition description Definition title Definition description + +(``code between parentheses``) diff --git a/autotests/html/highlight.cmake.html b/autotests/html/highlight.cmake.html --- a/autotests/html/highlight.cmake.html +++ b/autotests/html/highlight.cmake.html @@ -14,7 +14,7 @@ Demo ---- -This is an **RST** documentation. +This is an **RST** documentation. :: @@ -73,7 +73,7 @@ #[=======================================================================[.rst: .. cmake:command:: my_fun -*RST* documentation ``can`` refer to :cmake:command:`any_commands` or +*RST* documentation ``can`` refer to :cmake:command:`any_commands` or :cmake:variable:`variables`... .. code-block:: cmake diff --git a/autotests/html/highlight.rst.html b/autotests/html/highlight.rst.html --- a/autotests/html/highlight.rst.html +++ b/autotests/html/highlight.rst.html @@ -8,7 +8,7 @@ ######### :field: A field - On another line, *with inline* **markup**. + On another line, *with inline* **markup**. :py:field: A field with a colon (not handled correctly, currently) :and space: @@ -42,12 +42,12 @@ But this is a code block, too. -Inline ``code``, :ref:`interpreted role`, `trailing`:ref:, -:py:ref:`role with a colon`. The `default interpreted role` and regular text +Inline ``code``, :ref:`interpreted role`, `trailing`:ref:, +:py:ref:`role with a colon`. The `default interpreted role` and regular text after. -A reference_, `link <https://kde.org>`_ Plain link: https://kde.org. A footnote -reference [1]_. +A reference_, `link <https://kde.org>`_ Plain link: https://kde.org. A footnote +reference [1]_. .. [1] Footnote content @@ -70,4 +70,6 @@ Definition description Definition title Definition description + +(``code between parentheses``) diff --git a/autotests/input/highlight.rst b/autotests/input/highlight.rst --- a/autotests/input/highlight.rst +++ b/autotests/input/highlight.rst @@ -64,3 +64,5 @@ Definition description Definition title Definition description + +(``code between parentheses``) diff --git a/autotests/reference/highlight.cmake.ref b/autotests/reference/highlight.cmake.ref --- a/autotests/reference/highlight.cmake.ref +++ b/autotests/reference/highlight.cmake.ref @@ -8,7 +8,7 @@ Demo
----

-This is an **RST** documentation.
+This is an **RST** documentation.

::

@@ -67,7 +67,7 @@ #[=======================================================================[.rst:
.. cmake:command:: my_fun

-*RST* documentation ``can`` refer to :cmake:command:`any_commands` or
+*RST* documentation ``can`` refer to :cmake:command:`any_commands` or
:cmake:variable:`variables`...

.. code-block:: cmake
diff --git a/autotests/reference/highlight.rst.ref b/autotests/reference/highlight.rst.ref --- a/autotests/reference/highlight.rst.ref +++ b/autotests/reference/highlight.rst.ref @@ -2,7 +2,7 @@ #########

:field: A field
- On another line, *with inline* **markup**.
+ On another line, *with inline* **markup**.
:py:field: A field with a colon (not handled correctly, currently)
:and space:

@@ -36,12 +36,12 @@
But this is a code block, too.

-Inline ``code``, :ref:`interpreted role`, `trailing`:ref:,
-:py:ref:`role with a colon`. The `default interpreted role` and regular text
+Inline ``code``, :ref:`interpreted role`, `trailing`:ref:,
+:py:ref:`role with a colon`. The `default interpreted role` and regular text
after.

-A reference_, `link `_ Plain link: https://kde.org. A footnote
-reference [1]_.
+A reference_, `link `_ Plain link: https://kde.org. A footnote
+reference [1]_.

.. [1] Footnote content

@@ -64,3 +64,5 @@ Definition description
Definition title
Definition description
+
+(``code between parentheses``)
diff --git a/data/syntax/rest.xml b/data/syntax/rest.xml --- a/data/syntax/rest.xml +++ b/data/syntax/rest.xml @@ -1,7 +1,7 @@ + ]>