Skip to content

Numbered lists are reset by nested code blocks #1084

@evandrocoan

Description

@evandrocoan

If you create a list like:

1. Create the text:
```python
Fold next
```
1. Second
1. Third
1. Forth

Is rendered wrong as:

  1. Create the text:
Fold next
  1. Second
  2. Third
  3. Forth

Where we have double number one entries as 1, 1, 2, 3, instead of 1, 2, 3, 4.


Related issues:

  1. Code blocks inside list are not detected #91 Code blocks inside list are not detected
  2. Markdown using code blocks within bullets, broken by latest release #1043 Markdown using code blocks within bullets, broken by latest release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions