nuxt-windicss icon indicating copy to clipboard operation
nuxt-windicss copied to clipboard

@nuxt/content class syntax not working

Open watzon opened this issue 2 years ago • 0 comments

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

watzon avatar Jan 09 '23 18:01 watzon