Skip to content

[Markdown] Zero-based lists are broken #6813

@MichaelDeBoey

Description

@MichaelDeBoey

As provided by @alexandrtovmach in gatsbyjs/gatsby#18942 (comment), parsing zero-based lists is broken.

Prettier 1.18.2
Playground link

--parser markdown

Input:

0. List
1. List
2. List

Output:

0. List
1. List
1. List

Expected behavior:

0. List
1. List
2. List

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:markdownIssues affecting Markdownlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions