Index: autotests/folding/highlight.rst.fold =================================================================== --- autotests/folding/highlight.rst.fold +++ autotests/folding/highlight.rst.fold @@ -1,4 +1,6 @@ -A heading +http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html + +A heading ######### :field: A field @@ -64,3 +66,5 @@ Definition description Definition title Definition description + +(``code between parentheses``) Index: autotests/html/highlight.cmake.html =================================================================== --- autotests/html/highlight.cmake.html +++ 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 Index: autotests/html/highlight.rst.html =================================================================== --- autotests/html/highlight.rst.html +++ autotests/html/highlight.rst.html @@ -4,11 +4,13 @@ highlight.rst
+http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html
+
 A heading
 #########
 
 :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 +44,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 +72,6 @@
     Definition description
 Definition title
     Definition description
+
+(``code between parentheses``)
 
Index: autotests/input/highlight.rst =================================================================== --- autotests/input/highlight.rst +++ autotests/input/highlight.rst @@ -66,3 +66,5 @@ Definition description Definition title Definition description + +(``code between parentheses``) Index: autotests/reference/highlight.cmake.ref =================================================================== --- autotests/reference/highlight.cmake.ref +++ 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
Index: autotests/reference/highlight.rst.ref =================================================================== --- autotests/reference/highlight.rst.ref +++ autotests/reference/highlight.rst.ref @@ -1,8 +1,10 @@ +http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html
+
A heading
#########

: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 +38,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 +66,5 @@ Definition description
Definition title
Definition description
+
+(``code between parentheses``)
Index: data/syntax/rest.xml =================================================================== --- data/syntax/rest.xml +++ data/syntax/rest.xml @@ -1,7 +1,7 @@ + @@ -14,7 +14,7 @@ Copyright 2010 Matt Williams (matt@milliams.com) Copyright 2014 Matthew Woehlke (mw_triad@users.sourceforge.net) --> - +