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

vscode: Inconsistent syntax highlighting inside <script> and <style> tags #489

Closed
irsyadpage opened this issue Feb 2, 2024 · 2 comments · Fixed by templ-go/templ-vscode#32
Labels
bug Something isn't working NeedsInvestigation Issue needs some investigation before being fixed vscode

Comments

@irsyadpage
Copy link

I found that syntax highlighting for JavaScript and CSS inside the <script> and <style> tags are highlighted inconsistently. Code inside a function is highlighted properly, whereas the others are not.

bb

Is templ currently does not support syntax highlighting for content inside <script> and <style> tags or I misconfigured something?

@joerdav joerdav changed the title Inconsistent syntax highlighting inside <script> and <style> tags vscode: Inconsistent syntax highlighting inside <script> and <style> tags Feb 5, 2024
@joerdav joerdav added bug Something isn't working vscode NeedsInvestigation Issue needs some investigation before being fixed labels Feb 5, 2024
@alehechka
Copy link
Contributor

I can look into this.

@alehechka
Copy link
Contributor

Opened a PR: templ-go/templ-vscode#32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NeedsInvestigation Issue needs some investigation before being fixed vscode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants