Felix Dombek
Felix Dombek

Reputation: 14372

Can I get VS Code to syntax-highlight JsRender templates?

Inside a <script type="text/x-jsrender">, all code is displayed in white. If I just change x-jsrender to html, the syntax highlighting works as expected.

Is there a way to teach VS Code to treat x-jsrender like html?

Upvotes: 5

Views: 630

Answers (1)

Henrik Andersson
Henrik Andersson

Reputation: 47172

Currently there is no support OOTB, you will have to write a plugin to enable that syntax highlighting.

Upvotes: 3

Related Questions