benweet / stackedit

In-browser Markdown editor
https://stackedit.io/
Apache License 2.0
21.69k stars 2.72k forks source link

Fenced code blocks as list items not rendered properly #1721

Closed iczero closed 1 year ago

iczero commented 3 years ago

Fenced code blocks in list items do not seem to be properly rendered on the editor side.

An example:

Markdown:

1. list item 1
2. list item 2, with block
   ```
   test
   ```

Rendered:

  1. list item 1
  2. list item 2, with block
    test

A screenshot of the issue:

Screenshot_20210412_001338