Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [Markdown] Prettier adds unnecessary > while using --prose-wrap always #14228

Open
dimaMachina opened this issue Jan 24, 2023 · 0 comments
Labels
lang:markdown Issues affecting Markdown type:bug Issues identifying ugly output, or a defect in the program

Comments

@dimaMachina
Copy link

Prettier 2.8.3
Playground link

--parser mdx
--prose-wrap always

Input:

> **Source:**
> [packages/react-dom/src/client/ReactDOMComponent.js:225](https://github.com/facebook/react/blob/8a8d973d3cc5623676a84f87af66ef9259c3937c/packages/react-dom/src/client/ReactDOMComponent.js#L225)

Output:

> **Source:** >
> [packages/react-dom/src/client/ReactDOMComponent.js:225](https://github.com/facebook/react/blob/8a8d973d3cc5623676a84f87af66ef9259c3937c/packages/react-dom/src/client/ReactDOMComponent.js#L225)

Expected behavior:

@sosukesuzuki sosukesuzuki added type:bug Issues identifying ugly output, or a defect in the program lang:markdown Issues affecting Markdown labels Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang:markdown Issues affecting Markdown type:bug Issues identifying ugly output, or a defect in the program
Projects
None yet
Development

No branches or pull requests

2 participants