Ordered list numbering resets incorrectly when inserting new headings between existing ones

When inserting a new heading between two existing level-2 headings and creating an ordered list under the new heading, all subsequent ordered lists under other headings unexpectedly inherit the numbering sequence. This causes unrelated lists across different sections to become incorrectly ordered.

Steps to reproduce

  1. Create a document with this initial content:
## Section A
1. Item A1
2. Item A2

## Section C
1. Item C1
2. Item C2
  1. Insert a new heading between the existing sections:
## Section A
1. Item A1
2. Item A2

## Section B
1. Item B1
2. Item B2

## Section C
1. Item C1
2. Item C2
  1. Observe the rendered preview or reading view

Did you follow the troubleshooting guide? [Y/N]

Yes, my vault with no third-party plugins, no css snippets, default theme.

Expected result

Section A
1. Item A1
2. Item A2

Section B
1. Item B1
2. Item B2

Section C
1. Item C1
2. Item C2

Actual result

All lists after the new heading inherit the numbering sequence

Section A
1. Item A1
2. Item A2

Section B
1. Item B1
2. Item B2

Section C
3. Item C1
4. Item C2  // Numbers continue from previous section

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.3
Operating system: MacOS 15.3 (24D60)
Login status: Logged in
Language: zh-CN
Insider build toggle: OFF
Live preview: OFF
Base theme: Adapt to system
Community theme: None
Snippets enabled: 0
Restricted mode: ON


Additional information

  • This only occurs when inserting headings between existing ones
  • The issue persists across different viewing modes (edit/preview/reading)
  • Adding empty lines between sections doesn’t resolve the problem
  • Workaround: Manually reset numbering using 1. for each new section
  • I tried to reinstall the old version but it still didn’t fix the problem, just the installed version

Looks like the same as:

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