feat(liquid): capture (front_matter) and inject yaml (#7672)

This commit is contained in:
Hank Jackson 2025-02-21 03:29:03 -05:00 committed by GitHub
parent 0cfe75d2a2
commit 4cf2da5c3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -130,3 +130,5 @@
","
"."
] @punctuation.delimiter
(front_matter) @keyword.directive

View file

@ -18,5 +18,10 @@
(#set! injection.language "css")
(#set! injection.combined))
((front_matter) @injection.content
(#set! injection.language "yaml")
(#offset! @injection.content 1 0 -1 0)
(#set! injection.include-children))
((comment) @injection.content
(#set! injection.language "comment"))