usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
34.44k stars 2.49k forks source link

Inserting a code block into an ordered list indeed causes the ordered list to restart numbering #4115

Open parasolwaddledee opened 1 week ago

parasolwaddledee commented 1 week ago

Describe the bug

Inserting a code block into an ordered list indeed causes the ordered list to restart numbering

Steps to reproduce

Posting a memo with the following markdown code:

1. This is step 1:

some code here...

2. This is step 2:
```bash
some code here...
  1. This is step 3:
    some code here...

The version of Memos you're using.

latest

Screenshots or additional context

20241109170344