Syntax highlighting: Javascript Template Literals
Hello. I have to suggest some updates on Template Literals that will be really helpful.
-
Fixing the bracket issue in the expression field https://i.postimg.cc/JhSqWYNV/asgag.png
-
Javascript highlighting in the expression field https://i.postimg.cc/FRF96brX/jshi.png
-
Optional Html highlighting by inserting the comment /*html*/ before the template literals https://i.postimg.cc/9QcHCvN5/jshi2.png
-
Same as the above for Css by inserting /*css*/ before the template literals
More info about Template Literals https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
These changes will help web developers to use Web Components, that's nowadays are essential for Spa Apps. https://developer.mozilla.org/en-US/docs/Web/Web_Components
The file to edit I think is this: /usr/share/gtksourceview-3.0/language-specs/javascript.lang in the line 315