Editor: Incorrect detection of number list with offset number but without blank line

There is a little special case of markdown numbered (ordered) lists that Obsidian does not handle correctly

# Case 1 (it's a list)

Text  

1. item one  
2. item two 

# Case 2 (it's a list)

Text  
1. item one  
2. item two 

# Case 3 (it's a list)

Text  

3. item one  
4. item two 

# Case 4 (it's not a list)

Text  
3. item one  
4. item two  

According to CommonMark, Case 1, 2, 3 are ordered lists. Case 4 is NOT. Editor/Live Preview does not handle this. Reading mode does.

1 Like