Of course, I know well that Markdown is the only another language that have non-parent language syntax highlighting. (with triple-backticks + language name)
Furthermore, TypeScript also gets error checking.
Oops, I forgot string += ts[i]
Along with JSX, JavaScript and TypeScript can easily be the second most highlighted languages in the world; second only to Markdown.
There is also fake template string literal (via VSCode IDE only)
Thanks to Comment tagged templates
Although not really that popular. Only 1K installs...
Top comments (5)
Does not exist, if not mentioned. Saying such does not help people learn.
I mean specifically Python, Java and Golang.
I know a lot of examples for JS stereobooster.com/posts/awesome-ta..., but not much examples for other languages
It's not unique to JS or TS. Ruby has this enabled even without extensions in VS Code, using the heredoc syntax.
Nice. Maybe Shell can have this kind of guide-to-syntax-hightlighting as well?
Indeed, I complained because Python, Kotlin and Go don't have this feature.
This vscode extension does it fairly well
https://marketplace.visualstudio.com/items?itemName=julienetie.vscode-template-literals&ssr=false#review-details