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 */ breaks all syntax highlighting after it #51

Open
sxxov opened this issue Dec 14, 2022 · 2 comments
Open

/* css */ breaks all syntax highlighting after it #51

sxxov opened this issue Dec 14, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sxxov
Copy link

sxxov commented Dec 14, 2022

Without /* css */:
image

With /* css */:
image

This seems to be a problem with both this repo & bashmish/es6-string-css as well, as found from my testing & bashmish#6.

@0x00000001A 0x00000001A self-assigned this Dec 26, 2022
@kevcam4891
Copy link

Same here, when using css template literals from styled-components. I need to disable this extension for now. Coloring after css is messed up for the remainder of the document.

export const baseInputStyle = css`
   font-family: inherit;
`

image

@0x00000001A 0x00000001A added the bug Something isn't working label Apr 23, 2023
@johnhult
Copy link

johnhult commented May 18, 2023

I've also ran into this issue when using css from styled components.
If I instead use import * as Styled from "styled-components" and then Styled.css it seems to work however.

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

4 participants