question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syntax highlighting of template string views

See original GitHub issue

Is 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:

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jamencommented, Jan 24, 2017

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found