tree-sitter-html/queries/injections.scm

8 lines
173 B
Scheme
Raw Normal View History

((script_element
(raw_text) @injection.content)
(set! injection.language "javascript"))
((style_element
(raw_text) @injection.content)
(set! injection.language "css"))