Syntax highlighting of template string views
See original GitHub issueIs there editor plugins to add syntax highlighting to the HTML inside of template string views? I tired searching in this README and in the issues, but found nothing. It would be useful to catalog them. I personally use Atom and was wondering if there is a plugin.
I’m aware there is other modules (e.g. bel
and yo-yo
) that would also benefit from these, so probably not named after choo itself.
For an example, GitHub actually seems to do this already:
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Syntax Highlight JavaScript Template Strings - Joy of Code
Syntax highlight, and code completion inside JavaScript template strings.
Read more >Syntax Highlight Guide | Visual Studio Code Extension API
Syntax highlighting determines the color and style of source code displayed in the Visual Studio Code editor. It is responsible for colorizing keywords...
Read more >JavaScript: The need for Template Literal Highlighting - Medium
These syntax highlighters only support template-literal strings that are accompanied by a tag function e.g.. const sayBye = someTagFn `<h1>Bye, ...
Read more >Wes Bos on Twitter: " Use the VS Code plugin es6-string-html ...
Use the VS Code plugin es6-string-html to get syntax highlighting inside template strings. Super handy if you are trying to template out HTML...
Read more >[JavaScript] HTML and CSS syntax highlighting in tagged ...
Is it possible to support HTML/CSS syntax highlighting inside a tagged template string? I am looking to do the equivalent of this atom...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jbucaran see https://github.com/Microsoft/vscode/issues/2000
@yoshuawuyts Hmm, it didn’t seem to work out of the box. I tried looking in settings but didn’t find anything. What do you mean by extensions?