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

Markdown autoformatting breaks the document (is not stable) #9869

Open
1 task done
gdamore opened this issue Mar 27, 2024 · 2 comments
Open
1 task done

Markdown autoformatting breaks the document (is not stable) #9869

gdamore opened this issue Mar 27, 2024 · 2 comments
Labels
defect [core label] language An umbrella label for all programming languages syntax behaviors markdown Markdown markup support prettier Prettier tooling support

Comments

@gdamore
Copy link

gdamore commented Mar 27, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

If I start with the following markdown:

nng_pub_open --- create *PUB* socket

Then I save, it gets changed to:

nng_pub_open --- create _PUB_ socket

This is fine.

But then if I save again, it then gets change to the following broken content:

nng*pub_open --- create \_PUB* socket

This is very much not what I desire.

I suppose this may not be a Zed issue directly, but via Prettier or something. But it happens automatically in Zed, and I don't know how to stop it.

Environment

Zed: v0.127.4 (Zed)
OS: macOS 14.3.0
Memory: 16 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

@gdamore gdamore added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Mar 27, 2024
@Moshyfawn Moshyfawn added markdown Markdown markup support language An umbrella label for all programming languages syntax behaviors prettier Prettier tooling support and removed triage Maintainer needs to classify the issue labels Mar 27, 2024
@JosephTLyons JosephTLyons removed the admin read Pending admin review label Mar 28, 2024
@VKondakoff
Copy link

This is prettier issue:

Снимок экрана 2024-03-29 в 19 03 27

@VKondakoff
Copy link

Here is the issue: prettier/prettier#16160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] language An umbrella label for all programming languages syntax behaviors markdown Markdown markup support prettier Prettier tooling support
Projects
None yet
Development

No branches or pull requests

4 participants