-
Notifications
You must be signed in to change notification settings - Fork 37
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
🐛 BUG: prettier-ignore destroys the contents #338
Comments
I think this issue may be related to #411. When I applied Prettier to the following code, the beginning of the second
|
I have the same bug, which makes using Before
After
|
Same issue here - at least I think. Correct me if Im wrong. Before <!-- prettier-ignore -->
<nav id="nav-links">
<a id="home" href="/"><span class="icon" id="home-logo"> </span>Home</a>
<a id="about" href="/about/"><span class="icon" id="about-logo"> </span>About</a>
<a id="blog" href="/blogs/"><span class="icon" id="blog-logo"> </span>Blogs</a>
</nav>
<style>
#nav-links {
height: 50px;
... After <!-- prettier-ignore -->
<nav id="nav-links">
<a id="home" href="/"><span class="icon" id="home-logo"> </span>Home</a>
<a id="about" href="/about/"><span class="icon" id="about-logo"> </span>About</a>
<a id="blog" href="/blogs/"><span class="icon" id="blog-logo"> </span>Blogs</a>
</nav>
<sty
<style>
#nav-links {
height: 50px;
... |
I also met this problem. In I think we should use biome. |
Describe the Bug
Before save:
After save:
![obraz](https://user-images.githubusercontent.com/20814638/229594675-5e46dceb-89b8-46ef-9861-6035084571f5.png)
Code:
Steps to Reproduce
npm init astro
using default templateThe text was updated successfully, but these errors were encountered: