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