Is there a proper way to skip one or multiple numbers in a numbered list in Discourse?

Hi.

Apparently, the value attribute of a <li> tag is removed.

So, is it possible to set an arbitrary number inside a list, for an element other than the first one?

  1. element 1
  2. element 2
  3. I’d like element 5 here
2 Likes

No, markdown does not support this. Closest is just “faking it”

(1) buy dough
(2) bake
(7) eat bread

3 Likes

Well, before it is closed, I’d add another workaround that looks nice if you separate your list elements with empty lines.

1. element 1

2. element 2
<div></div>

5. element 5
  1. element 1

  2. element 2

  1. element 5
7 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.