File: compact_lists.txt

package info (click to toggle)
python-docutils 0.16%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,864 kB
  • sloc: python: 45,783; lisp: 14,475; xml: 1,785; javascript: 1,032; sh: 140; makefile: 111
file content (39 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
* This is an ordinary simple bullet list.
* It should be made compact (<p> & </p> tags omitted).

**********

* This is a bullet list that is not simple.

  There are multiple paragraphs in some items.

* It should not be made compact.

* Even though some items may have only one paragraph.

**********

.. class:: open

* This is a simple bullet list, but class="open" is set.
* It should not be made compact.

**********

.. class:: compact

* This is a bullet list that is not simple.

  There are multiple paragraphs in some items.

* However, the class="compact" setting will cause 
  all first paragraph's <p> & </p> tags to be omitted.

* Items with multiple paragraphs will not appear changed.

* Items may have one paragraph, or multiple.

  Items with multiple paragraphs will still be followed
  by vertical whitespace because of the later paragraphs.

* The effect is interesting.