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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier breaks Markdown alert syntax #16193

Open
babakfp opened this issue Apr 3, 2024 · 0 comments
Open

Prettier breaks Markdown alert syntax #16193

babakfp opened this issue Apr 3, 2024 · 0 comments
Labels
lang:markdown Issues affecting Markdown type:enhancement A potential new feature to be added, or an improvement to how we print something

Comments

@babakfp
Copy link

babakfp commented Apr 3, 2024

https://github.com/orgs/community/discussions/16925

Prettier 3.2.5
Playground link

--parser markdown

Input:

> [!NOTE]
> **Bold**: Hello, World!

Output:

> [!NOTE] > **Bold**: Hello, World!

Expected output:
The same as input.

More info

This issue doesn't happen if I remove **Documentation**: .

@sosukesuzuki sosukesuzuki added type:enhancement A potential new feature to be added, or an improvement to how we print something lang:markdown Issues affecting Markdown labels Apr 6, 2024
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:enhancement A potential new feature to be added, or an improvement to how we print something
Projects
None yet
Development

No branches or pull requests

2 participants