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

Variant groups code in Markdown's code block is transformed unexpectedly #302

Open
KeroZhai opened this issue Aug 17, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@KeroZhai
Copy link

Describe the bug

I'm using Slidev(which internally uses vite-plugin-windicss to add support for Markdown file), and variant groups code in Markdown's code block is transformed unexpectedly

Minimal Reproductions

For example, write the code below in slides.md:

```html
<span class="hover:(font-bold text-2xl)">Variant Groups</span>
```

And it will be rendered as:

<span class="hover:font-bold hover:text-2xl">Variant Groups</span>

Versions

  • vite-plugin-windicss: 1.8.7
  • vite: 3.0.7
  • framework(vue/react/svelte/etc): vue

Additonal Context

I opened a similar issue in Slidev's repo too.

@KeroZhai KeroZhai added the bug Something isn't working label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant