Debian Codegraph @

test/functional/input/compact_lists.rst

raw
1 * This is an ordinary simple bullet list.
2 * It should be made compact (<p> & </p> tags omitted).
3
4 **********
5
6 * This is a bullet list that is not simple.
7
8 There are multiple paragraphs in some items.
9
10 * It should not be made compact.
11
12 * Even though some items may have only one paragraph.
13
14 **********
15
16 .. class:: open
17
18 * This is a simple bullet list, but class="open" is set.
19 * It should not be made compact.
20
21 **********
22
23 .. class:: compact
24
25 * This is a bullet list that is not simple.
26
27 There are multiple paragraphs in some items.
28
29 * However, the class="compact" setting will cause
30 all first paragraph's <p> & </p> tags to be omitted.
31
32 * Items with multiple paragraphs will not appear changed.
33
34 * Items may have one paragraph, or multiple.
35
36 Items with multiple paragraphs will still be followed
37 by vertical whitespace because of the later paragraphs.
38
39 * The effect is interesting.