dotfiles/vscode/.vscode/extensions/wholroyd.jinja-0.0.8/syntaxes/jinja-html.json
Errol Sancaktar ff17c17e23 vscode
2024-06-14 09:31:58 -06:00

20 lines
672 B
JSON

{
"name": "jinja-html",
"scopeName": "text.html.jinja",
"comment": "Jinja Template Engine in HTML",
"fileTypes": [
"j2",
"html"
],
"firstLineMatch": "^{% extends [\"'][^\"']+[\"'] %}",
"foldingStartMarker": "(<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|{%\\s*(block|filter|for|if|macro|raw))",
"foldingStopMarker": "(<\/(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|{%\\s*(endblock|endfilter|endfor|endif|endmacro|endraw)\\s*%})",
"patterns": [
{
"include": "source.jinja"
},
{
"include": "text.html.basic"
}
]
}