diff --git a/autotests/input/highlight.rst b/autotests/input/highlight.rst index 8ad77f2..be167c3 100644 --- a/autotests/input/highlight.rst +++ b/autotests/input/highlight.rst @@ -1,66 +1,68 @@ +http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html + A heading ######### :field: A field On another line, *with inline* **markup**. :py:field: A field with a colon (not handled correctly, currently) :and space: .. comment text .. multi-line comment text again .. also multiline comment .. .. directive:: argument another :option: value Directive content. .. py:function:: a directive with a colon :py:option: an option with a colon (not handled correctly, currently) :option a: an option with a space .. code-block:: A code block .. code:: 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 after. A reference_, `link `_ Plain link: https://kde.org. A footnote reference [1]_. .. [1] Footnote content A text block. Block quote -- attribution - A list - Another item - Sub item - More 1. Ordered 2. list Definition title Definition description Definition title Definition description diff --git a/data/syntax/markdown.xml b/data/syntax/markdown.xml index dd203f6..b47b1af 100644 --- a/data/syntax/markdown.xml +++ b/data/syntax/markdown.xml @@ -1,638 +1,640 @@ - + - + ]> diff --git a/data/syntax/rest.xml b/data/syntax/rest.xml index 22d3e54..552d29b 100644 --- a/data/syntax/rest.xml +++ b/data/syntax/rest.xml @@ -1,111 +1,119 @@ + + + ]> + + + + +