Skip to content

Inline code not formatting correctly #8655

@fisker

Description

@fisker

Prettier pr-8140
Playground link

--parser markdown

Input:

`
 a
`

Output:

` a`

Expected behavior:

Should be

`a`

Issue on remarkjs remarkjs/remark#494

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:markdownIssues affecting Markdownscope:dependencyIssues that cannot be solved inside Prettier itself, and must be fixed in a dependency

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions