I have a file that enables HTML syntax highlighting in template strings but how can I also enable CSS highlighting?
var html = `
<div>This works!! This is highlighted</div>
`
var css = `
.myclass {
But this does not work.... :(
}
`
Here is my current file ES6.sublime-syntax file
%YAML 1.2
---
name: ES6
file_extensions:
- js
- component.js
- page.js
scope: source.js.parasails
contexts:
main:
- match: ""
push: scope:source.js
with_prototype:
- match: '`'
push:
- meta_content_scope: text.html.basic.embedded.js
- include: 'scope:text.html.basic'
- match: '`'
pop: true