feat: tumblr grammar with highlights, injections, and tests

This commit is contained in:
2026-05-17 05:50:17 +02:00
parent 1596154284
commit c61fa5c53b
11 changed files with 1950 additions and 55 deletions
+7
View File
@@ -0,0 +1,7 @@
; All non-tag content is HTML. injection.combined concatenates every
; content node so an HTML tag opened in one chunk can close in another
; (across a {block:Foo}...{/block:Foo}). HTML's own injection queries
; then take over for <style> and <script>, giving us CSS and JS for free.
((content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))