upskirtref/Ordered and unordered lists.html (view raw)
1<h2>Unordered</h2>
2
3<p>Asterisks tight:</p>
4
5<ul>
6<li>asterisk 1</li>
7<li>asterisk 2</li>
8<li>asterisk 3</li>
9</ul>
10
11<p>Asterisks loose:</p>
12
13<ul>
14<li><p>asterisk 1</p></li>
15
16<li><p>asterisk 2</p></li>
17
18<li><p>asterisk 3</p></li>
19</ul>
20
21<hr>
22
23<p>Pluses tight:</p>
24
25<ul>
26<li>Plus 1</li>
27<li>Plus 2</li>
28<li>Plus 3</li>
29</ul>
30
31<p>Pluses loose:</p>
32
33<ul>
34<li><p>Plus 1</p></li>
35
36<li><p>Plus 2</p></li>
37
38<li><p>Plus 3</p></li>
39</ul>
40
41<hr>
42
43<p>Minuses tight:</p>
44
45<ul>
46<li>Minus 1</li>
47<li>Minus 2</li>
48<li>Minus 3</li>
49</ul>
50
51<p>Minuses loose:</p>
52
53<ul>
54<li><p>Minus 1</p></li>
55
56<li><p>Minus 2</p></li>
57
58<li><p>Minus 3</p></li>
59</ul>
60
61<h2>Ordered</h2>
62
63<p>Tight:</p>
64
65<ol>
66<li>First</li>
67<li>Second</li>
68<li>Third</li>
69</ol>
70
71<p>and:</p>
72
73<ol>
74<li>One</li>
75<li>Two</li>
76<li>Three</li>
77</ol>
78
79<p>Loose using tabs:</p>
80
81<ol>
82<li><p>First</p></li>
83
84<li><p>Second</p></li>
85
86<li><p>Third</p></li>
87</ol>
88
89<p>and using spaces:</p>
90
91<ol>
92<li><p>One</p></li>
93
94<li><p>Two</p></li>
95
96<li><p>Three</p></li>
97</ol>
98
99<p>Multiple paragraphs:</p>
100
101<ol>
102<li><p>Item 1, graf one.</p>
103
104<p>Item 2. graf two. The quick brown fox jumped over the lazy dog's
105back.</p></li>
106
107<li><p>Item 2.</p></li>
108
109<li><p>Item 3.</p></li>
110</ol>
111
112<h2>Nested</h2>
113
114<ul>
115<li>Tab
116
117<ul>
118<li>Tab
119
120<ul>
121<li>Tab</li>
122</ul></li>
123</ul></li>
124</ul>
125
126<p>Here's another:</p>
127
128<ol>
129<li>First</li>
130<li>Second:
131
132<ul>
133<li>Fee</li>
134<li>Fie</li>
135<li>Foe</li>
136</ul></li>
137<li>Third</li>
138</ol>
139
140<p>Same thing but with paragraphs:</p>
141
142<ol>
143<li><p>First</p></li>
144
145<li><p>Second:</p>
146
147<ul>
148<li>Fee</li>
149<li>Fie</li>
150<li>Foe</li>
151</ul></li>
152
153<li><p>Third</p></li>
154</ol>
155
156<p>This was an error in Markdown 1.0.1:</p>
157
158<ul>
159<li><p>this</p>
160
161<ul>
162<li>sub</li>
163</ul>
164
165<p>that</p></li>
166</ul>