-
Notifications
You must be signed in to change notification settings - Fork 13
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
How can I add support for other file extensions? #7
Comments
I think I found the solution by editing two files: "injectTo": [
"text.html.derivative",
"text.html.php",
"text.html.twig",
"text.pug"
], In the "injectionSelector": ["L:text.html.derivative", "L:text.html.php", "L:text.html.twig", "L:text.pug"], |
Unfortunately, @s-varenia that didn't seem to work with astro files. I tried adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I add support for other file extensions? For example, the file extension PUG (jade). I can see that the highlight recognizes the Alpine syntax perfectly, when I select the HTML language in language mode. What do I need to change in package.json to make Alpinejs Syntax Highlight work with
.pug
files?The text was updated successfully, but these errors were encountered: