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

Escape within <script> tags #1

Open
Black-Platypus opened this issue Jul 22, 2022 · 2 comments
Open

Escape within <script> tags #1

Black-Platypus opened this issue Jul 22, 2022 · 2 comments

Comments

@Black-Platypus
Copy link

Hi!
I know it's not trivial, but we could really use language support even within <script> tags.
Break out of JS and back into EJS-enabled "HTML"?
Otherwise, every statement creates 4 errors 😬
image

@leonsilicon
Copy link
Member

Hey there, thanks for posting an issue! This extension only does syntax highlighting, and unfortunately I don't have the time to implement complete language support for EJS from scratch in terms of parsing JavaScript. Let me know if you can find another extension that supports this and I'll be happy to include it in the README!

@yyz945947732
Copy link

image

Disable this option can prevent error messages.

However, the other error messages are not visible in this way.

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

3 participants