Auto-incrementing of numbered list elements should stop after next 1st element

Use case or problem

I have many numbered lists in a single file and after the recent update (that auto-increments numbers when adding an list element above them), all lists below the changed element increment their value and act as if they are now one massive list. However, I would like them to stay numbered independently of each other.

Proposed solution

When Obsidian updates the numbers of numbered lists, it could stop once it encounters a numbered element with number 1.

Meeting an element with number 1 should fairly reliably imply that the previous list should be considered done now and thus incrementing the numbers should stop now.

Example

Assume this is my file:

1. Pizza
2. Pasta
3. Bread

Some other text

1. Shampoo
2. Shower gel
3. Radioactive waste

I now add an entry after Pizza. According to my suggestion, the file should now look like this (without the user changing any numbers manually):

1. Pizza
2. Apples
3. Pasta
4. Bread

Some other text

1. Shampoo
2. Shower gel
3. Radioactive waste

Notice how the entry “Shampoo” and all subsequent entries were left untouched.

3 Likes
1 Like