File tree Expand file tree Collapse file tree 4 files changed +38
-1
lines changed
Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ Missing CSS support for HTML documents.
2323- php
2424- twig
2525- md
26+ - nunjucks
2627- javascript
2728- javascriptreact
2829
Original file line number Diff line number Diff line change 22 "name" : " vscode-html-css" ,
33 "displayName" : " HTML CSS Support" ,
44 "description" : " CSS support for HTML documents" ,
5- "version" : " 0.1.8 " ,
5+ "version" : " 0.1.9 " ,
66 "publisher" : " ecmel" ,
77 "license" : " MIT" ,
88 "homepage" : " https://github.com/ecmel/vscode-html-css" ,
5757 " onLanguage:php" ,
5858 " onLanguage:twig" ,
5959 " onLanguage:md" ,
60+ " onLanguage:nunjucks" ,
6061 " onLanguage:javascript" ,
6162 " onLanguage:javascriptreact"
6263 ],
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ export function activate(context: vsc.ExtensionContext) {
185185 'php' ,
186186 'twig' ,
187187 'md' ,
188+ 'nunjucks' ,
188189 'javascript' ,
189190 'javascriptreact' ,
190191 'erb'
@@ -202,6 +203,7 @@ export function activate(context: vsc.ExtensionContext) {
202203 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'php' , { wordPattern : wp } ) ) ;
203204 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'twig' , { wordPattern : wp } ) ) ;
204205 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'md' , { wordPattern : wp } ) ) ;
206+ context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'nunjucks' , { wordPattern : wp } ) ) ;
205207 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'javascript' , { wordPattern : wp } ) ) ;
206208 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'javascriptreact' , { wordPattern : wp } ) ) ;
207209 context . subscriptions . push ( vsc . languages . setLanguageConfiguration ( 'erb' , { wordPattern : wp } ) ) ;
Original file line number Diff line number Diff line change 1+ <html >
2+
3+ <head >
4+ <style >
5+ .internal {
6+ color : red ;
7+ }
8+
9+ .internal-test1 .internal-test2 {
10+ color : red ;
11+ }
12+
13+ #internal_id {
14+ color : red ;
15+ }
16+
17+ #internal_id-test1 #internal_id-test2 {
18+ color : red ;
19+ }
20+ </style >
21+ </head >
22+
23+ <body >
24+ <a href =" #" id =" external_id" style =" color : white ;" class =" external-test1" >TEST</a >
25+ <a href =" #" id =" internal_id" style ="
26+ color : white ;
27+ background-color : red ; " class ="
28+ external container
29+ internal
30+ " >TEST</a >
31+ </body >
32+
33+ </html >
You can’t perform that action at this time.
0 commit comments