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

css & nesting selector support #2101

Open
juner opened this issue Jan 8, 2025 · 0 comments
Open

css & nesting selector support #2101

juner opened this issue Jan 8, 2025 · 0 comments
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@juner
Copy link

juner commented Jan 8, 2025

Name of the lexer
css & nesting selector support

Code sample

body {
   &:has(span) {
      background-color: red;
   }
}

https://rouge.jneen.net/v4.5.1/css/Ym9keSB7CiAgICY6aGFzKHNwYW4pIHsKICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmVkOwogICB9Cn0K

image

Additional context

https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector

@juner juner added the bugfix-request A request for a bugfix to be developed. label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

1 participant