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