-
Notifications
You must be signed in to change notification settings - Fork 86
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
Does not support other languages #14
Comments
did you import the lang somewhere in your project? Don't know how you use prismjs but maybe sth like that: import "prismjs/components/prism-sql.js" |
https://codesandbox.io/s/61yrlnlnmn |
It works if you import the sql lang file from prismjs. import "prismjs/components/prism-sql.js" |
Perfect. Thanks for the help! |
I had the same problem. This issue help me to fix it. Woulb be great to put this tip on the readme.md page. |
Hi. One more question about this issue. I've got problem with "php" language.
When using language="json" everything works good. When I try to use language="php" these 7 problems are raised:
I've also decided to check for |
I have encountered the same problem. How did you solve it? |
Please upgrade to the new version v1.x |
Hi I am on the newest version, and for CSS I get: Error in nextTick: "TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'." |
I got a similar error and this thread helped me |
I tried language="sql". It does not work
The text was updated successfully, but these errors were encountered: