Lists
Numeric Lists
To make a numbered list, place each item in its own paragraph, preceded by "#".
You type
# A first item
# A second item
# A third
Resulting HTML
<ol>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ol>
What appears on the screen
- A first item
- A second item
- A third
These lists may be nested by increasing the number of pound symbols preceding child entries.
You type
# Fuel could be:
## Coal
## Gasoline
## Electricity
# Humans need only:
## Water
## Protein
Resulting HTML
<ol>
<li>Fuel could be:
<ol>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ol>
</li>
<li>Humans need only:
<ol>
<li>Water</li>
<li>Protein</li>
</ol></li>
</ol>
What appears on the screen
- Fuel could be:
- Coal
- Gasoline
- Electricity
- Humans need only:
- Water
- Protein
Bulleted Lists
Bulleted lists use an asterisk in place of the pound.
You type
* A first item
* A second item
* A third
Resulting HTML
<ul>
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ul>
What appears on the screen
- A first item
- A second item
- A third
These lists may be nested in like manner.
You type
* Fuel could be:
** Coal
** Gasoline
** Electricity
* Humans need only:
** Water
** Protein
Resulting HTML
<ul>
<li>Fuel could be:
<ul>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ul>
</li>
<li>Humans need only:
<ul>
<li>Water</li>
<li>Protein</li>
</ul></li>
</ul>
What appears on the screen
- Fuel could be:
- Coal
- Gasoline
- Electricity
- Humans need only:
- Water
- Protein
Combined (Hybrid) Lists
You may want to have a list that is numbered but the sub-sections are bulleted. You can achieve that by combining the use of the pound and asterisk.
You type
# Fuel could be:
** Coal
** Gasoline
** Electricity
# Humans need only:
** Water
** Protein
Resulting HTML
<ol>
<li>Fuel could be:
<ul>
<li>Coal</li>
<li>Gasoline</li>
<li>Electricity</li>
</ul>
</li>
<li>Humans need only:
<ul>
<li>Water</li>
<li>Protein</li>
</ul></li>
</ol>
What appears on the screen
- Fuel could be:
- Coal
- Gasoline
- Electricity
- Humans need only:
- Water
- Protein

