Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/highlight.rst
- This file was added.
1 | A heading | ||||
---|---|---|---|---|---|
2 | ######### | ||||
3 | | ||||
4 | :field: A field | ||||
5 | On another line, *with inline* **markup**. | ||||
6 | :py:field: A field with a colon (not handled correctly, currently) | ||||
7 | :and space: | ||||
8 | | ||||
9 | .. comment | ||||
10 | | ||||
11 | text | ||||
12 | | ||||
13 | .. multi-line | ||||
14 | comment | ||||
15 | | ||||
16 | text again | ||||
17 | | ||||
18 | .. | ||||
19 | also multiline comment | ||||
20 | .. | ||||
21 | | ||||
22 | .. directive:: argument another | ||||
23 | :option: value | ||||
24 | | ||||
25 | Directive content. | ||||
26 | | ||||
27 | .. py:function:: a directive with a colon | ||||
28 | :py:option: an option with a colon (not handled correctly, currently) | ||||
29 | :option a: an option with a space | ||||
30 | | ||||
31 | .. code-block:: | ||||
32 | | ||||
33 | A code block | ||||
34 | | ||||
35 | .. code:: | ||||
36 | | ||||
37 | But this is a code block, too. | ||||
38 | | ||||
39 | Inline ``code``, :ref:`interpreted role`, `trailing`:ref:, | ||||
40 | :py:ref:`role with a colon`. The `default interpreted role` and regular text | ||||
41 | after. | ||||
42 | | ||||
43 | A reference_, `link <https://kde.org>`_ Plain link: https://kde.org. A footnote | ||||
44 | reference [1]_. | ||||
45 | | ||||
46 | .. [1] Footnote content | ||||
47 | | ||||
48 | A text block. | ||||
49 | | ||||
50 | Block quote | ||||
51 | | ||||
52 | -- attribution | ||||
53 | | ||||
54 | - A list | ||||
55 | - Another item | ||||
56 | | ||||
57 | - Sub item | ||||
58 | - More | ||||
59 | | ||||
60 | 1. Ordered | ||||
61 | 2. list | ||||
62 | | ||||
63 | Definition title | ||||
64 | Definition description | ||||
65 | Definition title | ||||
66 | Definition description |