File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 2222; <link href={ Routes.static_path(..) } />
2323((expression (expression_value) @injection.content )
2424 (#set! injection.language "elixir"))
25+
26+ ; Sintax highlight for style and javascript tags
27+ ((tag
28+ (start_tag
29+ (tag_name) @tag_name (#eq? @tag_name "script"))
30+ (text)
31+ (end_tag)
32+ ) @injection.content
33+ (#offset! @injection.content 1 0 0 -9)
34+ (#set! injection.language "javascript")
35+ (#set! injection.include-children)
36+ (#set! injection.combined)
37+ )
38+
39+ ((tag
40+ (start_tag
41+ (tag_name) @tag_name (#eq? @tag_name "style"))
42+ (text)
43+ (end_tag)
44+ ) @injection.content
45+ (#offset! @injection.content 1 0 0 -9)
46+ (#set! injection.language "css")
47+ (#set! injection.include-children)
48+ (#set! injection.combined)
49+ )
You can’t perform that action at this time.
0 commit comments