Skip to content

Update remark: print lists #6180

@duailibe

Description

@duailibe

remark-parse@6 includes a lot of fixes, like the fix for #6177

But there was a significant change in lists, they don't include the loose property anymore, and include now a spread, which have different semantics.

See: remarkjs/remark@aab3c3e

For example, remark prints like this:

<!-- input -->
- a

  - a
  - a
- b
  - b

  - b

- c
  - c

    c
  - c

<!-- output -->
-   a

    -   a
    -   a

-   b

    -   b

    -   b

-   c

    -   c

        c
    -   c

WDYT?

cc @ikatyang

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.scope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions