Skip to content

Latest commit

 

History

History
125 lines (104 loc) · 2.19 KB

ListExtraSpecs.md

File metadata and controls

125 lines (104 loc) · 2.19 KB

Extensions

The following additional list items are supported:

Ordered list with alpha letter

Allows to use a list using an alpha letter instead of a number

a. First item
b. Second item
c. Last item
.
<ol type="a">
<li>First item</li>
<li>Second item</li>
<li>Last item</li>
</ol>

It works also for uppercase alpha:

A. First item
B. Second item
C. Last item
.
<ol type="A">
<li>First item</li>
<li>Second item</li>
<li>Last item</li>
</ol>

Like for numbered list, a list can start with a different letter

b. First item
c. Second item
.
<ol type="a" start="2">
<li>First item</li>
<li>Second item</li>
</ol>

A different type of list will break the existing list:

a. First item1
b. Second item
A. First item2
.
<ol type="a">
<li>First item1</li>
<li>Second item</li>
</ol>
<ol type="A">
<li>First item2</li>
</ol>

Ordered list with roman letter

Allows to use a list using a roman number instead of a number.

i. First item
ii. Second item
iii. Third item
iv. Last item
.
<ol type="i">
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Last item</li>
</ol>

It works also for uppercase alpha:

I. First item
II. Second item
III. Third item
IV. Last item
.
<ol type="I">
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Last item</li>
</ol>

Like for numbered list, a list can start with a different letter

ii. First item
iii. Second item
.
<ol type="i" start="2">
<li>First item</li>
<li>Second item</li>
</ol>

Lists can be restarted, specifying the start point.

1.   First item

Some text

2.   Second item
.
<ol>
<li>First item</li>
</ol>
<p>Some text</p>
<ol start="2">
<li>Second item</li>
</ol>