Debian Codegraph @

org/testdata/lists.html

raw
1 <ul>
2 <li class="unchecked">unordered list item 1</li>
3 <li>
4
5 list item with empty first and second line <br>
6 normally an empty line breaks the list item - but we make an exception for the first line and don&#39;t count it towards that limit</li>
7 <li>
8 <p>unordered list item 2 - with <code>inline</code> <em>markup</em></p>
9 <ol>
10 <li class="indeterminate">
11 <p>ordered sublist item 1</p>
12 <ol>
13 <li class="checked">ordered sublist item 1</li>
14 <li class="unchecked">ordered sublist item 2</li>
15 <li class="checked">ordered sublist item 3</li>
16 </ol>
17 </li>
18 <li>ordered sublist item 2</li>
19 <li>
20
21 list item with empty first and second line - see above</li>
22 </ol>
23 </li>
24 <li class="checked">
25 <p>unordered list item 3 - and a <a href="https://example.com">link</a>
26 and some lines of text</p>
27 <ol>
28 <li>
29 <p>and another subitem</p>
30 <div class="src src-sh">
31 <div class="highlight">
32 <pre>
33 echo with a block
34 </pre>
35 </div>
36 </div>
37 </li>
38 <li>
39 <p>and another one with a table</p>
40 <table>
41 <thead>
42 <tr>
43 <th class="align-right">a</th>
44 <th class="align-right">b</th>
45 <th class="align-right">c</th>
46 </tr>
47 </thead>
48 <tbody>
49 <tr>
50 <td class="align-right">1</td>
51 <td class="align-right">2</td>
52 <td class="align-right">3</td>
53 </tr>
54 </tbody>
55 </table>
56 <p>
57 and text with an empty line in between as well!</p>
58 </li>
59 </ol>
60 </li>
61 <li>
62 <p>unordered list item 4</p>
63 <pre class="example">
64 with an example
65
66 that spans multiple lines
67 </pre>
68 </li>
69 </ul>
70 <p>
71 descriptive lists</p>
72 <dl>
73 <dt class="unchecked">
74 term
75 </dt>
76 <dd>details
77 continued details</dd>
78 <dt class="unchecked">
79 ?
80 </dt>
81 <dd>details without a term</dd>
82 <dt class="checked">
83 term
84 </dt>
85 <dd>
86 details on a new line</dd>
87 <dt>
88 term
89 </dt>
90 <dd>
91 <p>
92 details on a new line (with an empty line in between)
93 <strong>continued</strong></p>
94 <div class="src src-bash">
95 <div class="highlight">
96 <pre>
97 echo &#34;Hello World!&#34;
98 </pre>
99 </div>
100 </div>
101 </dd>
102 </dl>
103 <p>some list termination tests</p>
104 <ul>
105 <li>unordered 1</li>
106 <li>unordered 2</li>
107 </ul>
108 <ol>
109 <li>ordered 1</li>
110 <li>ordered 2</li>
111 </ol>
112 <ol>
113 <li>ordered 1</li>
114 <li>ordered 2</li>
115 </ol>
116 <ul>
117 <li>unordered 1</li>
118 <li>unordered 2</li>
119 </ul>
120 <ol>
121 <li>ordered 1</li>
122 <li>ordered 2</li>
123 </ol>
124 <dl>
125 <dt>
126 unordered descriptive
127 </dt>
128 <dd>1</dd>
129 <dt>
130 unordered descriptive
131 </dt>
132 <dd>2</dd>
133 </dl>
134 <dl>
135 <dt>
136 ordered descriptive
137 </dt>
138 <dd>1</dd>
139 <dt>
140 ordered descriptive
141 </dt>
142 <dd>2</dd>
143 </dl>
144 <ul>
145 <li>unordered 1</li>
146 <li>unordered 2</li>
147 </ul>
148 <ol>
149 <li value="2">use `[@n]` to change the value of list items</li>
150 <li class="unchecked">foobar</li>
151 <li value="10" class="checked">that even works in combination with list statuses (`[ ]`)</li>
152 </ol>