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

Closed
babakfp opened this issue Apr 3, 2024 · 2 comments
Closed

Prettier breaks Markdown alert syntax #16193

babakfp opened this issue Apr 3, 2024 · 2 comments
Labels
type:duplicate Issues that are a duplicate of a previous issue

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
@pozil
Copy link

pozil commented May 14, 2024

I'm having the same formatting issue with this:

> [!NOTE]
> `hello()` is called in two places....

@kachkaev
Copy link
Member

👋 @babakfp! This issue is tracked in #13953, let’s continue the discussion there.

@kachkaev kachkaev closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
@kachkaev kachkaev added type:duplicate Issues that are a duplicate of a previous issue and removed type:enhancement A potential new feature to be added, or an improvement to how we print something lang:markdown Issues affecting Markdown labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:duplicate Issues that are a duplicate of a previous issue
Projects
None yet
Development

No branches or pull requests

4 participants