Docs

Attribute "start" for ordered markdown list

What if you want to start a markdown list with something other than number one?

For example:

  1. Five
  2. Six
  3. Seven

You do this by placing your starting number before the dot. So for example "5." for the first list item.

Only the first list item is relevant. That determines the start attribute on the resulting <ol> HTML tag.

5. Five
6. Six
7. Seven


<!--
<ol start="5">
  <li>Five</li>
  <li>Six</li>
  <li>Seven</li>
</ol>
-->

Since only the first markdown list item matters, this actually produces the same HTML:

5. Five
5. Six
5. Seven

<!--
<ol start="5">
  <li>Five</li>
  <li>Six</li>
  <li>Seven</li>
</ol>
-->