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

@nuxt/content class syntax not working #196

Open
watzon opened this issue Jan 9, 2023 · 0 comments
Open

@nuxt/content class syntax not working #196

watzon opened this issue Jan 9, 2023 · 0 comments

Comments

@watzon
Copy link

watzon commented Jan 9, 2023

Describe the bug
@nuxt/content allows you to define classes on an object using the [span]{.some-class} syntax. Windi seems to be ignoring these classes since they are prefixed with a period.

To Reproduce
Steps to reproduce the behavior:

  1. Create a nuxt project using @nuxt/content
  2. In your content markdown use the above syntax.

Expected behavior
Windi's extractor should be able to correctly extract the classes, even when they're formatted as .some-class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant