Docs

Attribute "start" for ordered markdown list

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

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

input.md

5. Five
6. Six
7. Seven
Same as:
5. Five
5. Six
5. Seven

output.html

<ol start="5">
<li>Five</li>
<li>Six</li>
<li>Seven</li>
</ol>
<p>Same as:</p>
<ol start="5">
<li>Five</li>
<li>Six</li>
<li>Seven</li>
</ol>

Which renders in the browser like this:

  1. Five
  2. Six
  3. Seven

Same as:

  1. Five
  2. Six
  3. Seven