change the code-language of tag-content in html files #98507
Labels
grammar
Syntax highlighting grammar
upstream-issue-linked
This is an upstream issue that has been reported upstream
If I open an html-file in VS-code I get nice syntax-highlighting since the content is treated as HTML. But depending on tags the language used inside the tag to highlight the code is changed.
Is it possible to register a custom tag tied to a language?
What I actually want is
<script type="text/typescript">
that changes the language inside to Typescript. If that is not possible I would also settle for a<typescript>
tag since my "build-process" will process this node anyways. Maybe that is already possible somehow?If not please add it.
Thank you!
The text was updated successfully, but these errors were encountered: