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

Support for Blade comments inside <script> tags #177

Open
binaryfire opened this issue Mar 31, 2024 · 0 comments
Open

Support for Blade comments inside <script> tags #177

binaryfire opened this issue Mar 31, 2024 · 0 comments

Comments

@binaryfire
Copy link

Hi @onecentlin. Thanks for the great extension!

Would it be possible to add syntax highlighting for Blade comments inside <script> tags? Using {{-- --}} to comment out JS is better than using \\ because the comments are completely removed from the rendered page. But currently comments inside script tags are not being highlighted as comments:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant