Skip to content

Semantic line feed in bullets leading to panic with prettier #4

@jamesbraza

Description

@jamesbraza

I am using mdformat==0.7.16, mdformat-mkdocs==1.0.1, and prettier==3.0.0-alpha.9-for-vscode with tabWidth = 4 to match PEP 8.

Here is the input, and this is fine for mdformat and prettier:

1. Semantic line feed where the following line is
   three spaces deep

However, after adding mdformat-mkdocs, there is a panic about the "three spaces deep" part. mdformat-mkdocs wants to add an extra space before "three" so it's 4-spaces deep:

1. Semantic line feed where the following line is
    three spaces deep

I think this is a bug with mdformat-mkdocs, imo it shouldn't touch the semantic line feed's spacing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions