feat: tumblr grammar with highlights, injections, and tests
This commit is contained in:
@@ -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))
|
||||
Reference in New Issue
Block a user