Choo: Syntax highlighting of template string views

Created on 24 Jan 2017  Â·  7Comments  Â·  Source: choojs/choo

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

Most helpful comment

All 7 comments

https://atom.io/packages/language-babel has tagged template literal
extensions which you can use to highlight HTML / CSS in atom

On Tue, Jan 24, 2017 at 10:47 AM Jamen Marz notifications@github.com
wrote:

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 frameworks (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: image]
https://cloud.githubusercontent.com/assets/6251703/22242099/b579876a-e1e7-11e6-8a05-fb95d2b32632.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/issues/393, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleuKcpPIUVKJLThTOtVXEVZu9gRjdks5rVciUgaJpZM4LsDYr
.

Thank you!

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

Never mind, I found big section in README on it.

Good for those Atom soulsI haven't been able to find a decent equivalent for vscode 🤔.

For vim there's https://github.com/Quramy/vim-js-pretty-template havn't gotten it to work very well though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tornqvist picture tornqvist  Â·  4Comments

knownasilya picture knownasilya  Â·  3Comments

samkingco picture samkingco  Â·  3Comments

sholtomaud picture sholtomaud  Â·  4Comments

pekeler picture pekeler  Â·  6Comments