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
+38
View File
@@ -0,0 +1,38 @@
==================
Plain HTML, no tags
==================
<html><body><h1>Hello</h1></body></html>
---
(template
(content))
==================
Stray opening brace
==================
function foo() { return 1; }
---
(template
(content))
==================
CSS embedded in style
==================
<style>
body { background: {color:Background}; }
</style>
---
(template
(content)
(variable
(variable_prefix)
(prefix_argument))
(content))