Runar Ovesen Hjerpbakk

Software Philosopher

Continuing an ordered list in Markdown

Today I created an ordered (numbered) list in Markdown for a Jekyll site and needed to continue the ordering after an image. Essentially, I wanted to achieve this:

  1. First item
  2. Second item
  1. Third item
  2. Fourth item

The solution is to use {:start="n"} to specify the starting index of the item following the image:

1. First item
2. Second item

![Kute kitten image](url)

{:start="3"}
3. Third item
4. Fourth item

Works in Markdown on Jekyll at least.