2024-02-12 18:10:40 +00:00
|
|
|
(frontmatter
|
2024-05-14 22:57:10 +00:00
|
|
|
(frontmatter_js_block) @content
|
2024-02-12 18:10:40 +00:00
|
|
|
(#set! "language" "typescript"))
|
|
|
|
|
2024-05-14 22:57:10 +00:00
|
|
|
(attribute_interpolation
|
|
|
|
(attribute_js_expr) @content
|
|
|
|
(#set! "language" "typescript"))
|
|
|
|
|
|
|
|
(html_interpolation
|
|
|
|
(permissible_text) @content
|
|
|
|
(#set! "language" "typescript"))
|
2024-02-12 18:10:40 +00:00
|
|
|
|
|
|
|
(script_element
|
|
|
|
(raw_text) @content
|
|
|
|
(#set! "language" "typescript"))
|
|
|
|
|
2024-05-14 22:57:10 +00:00
|
|
|
; TODO: add scss/less or more injections
|
|
|
|
; https://github.com/virchau13/tree-sitter-astro/blob/4be180759ec13651f72bacee65fa477c64222a1a/queries/injections.scm#L18-L27
|
2024-02-12 18:10:40 +00:00
|
|
|
(style_element
|
|
|
|
(raw_text) @content
|
|
|
|
(#set! "language" "css"))
|