Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
; Inject CSS into style elements
(style_element
  (raw_text) @injection.content
  (#set! injection.language "css"))

; Inject JavaScript/TypeScript into server blocks
; Note: statement is inlined, so we need to match specific statement types
; Commenting out for now as it requires matching all concrete statement types

; Template string interpolations
(template_substitution
  (expression) @injection.content
  (#set! injection.language "typescript"))