diff options
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/twig.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/twig.min.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/twig.min.js b/pyssg.xyz/live/static/hl/languages/twig.min.js deleted file mode 100644 index d9b6814..0000000 --- a/pyssg.xyz/live/static/hl/languages/twig.min.js +++ /dev/null @@ -1,13 +0,0 @@ -hljs.registerLanguage("twig",(()=>{"use strict";return e=>{ -var a="attribute block constant cycle date dump include max min parent random range source template_from_string",n={ -beginKeywords:a,keywords:{name:a},relevance:0,contains:[{className:"params", -begin:"\\(",end:"\\)"}]},t={begin:/\|[A-Za-z_]+:?/, -keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode", -contains:[n] -},s="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with" -;return s=s+" "+s.split(" ").map((e=>"end"+e)).join(" "),{name:"Twig", -aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml", -contains:[e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/, -end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:s,starts:{ -endsWithParent:!0,contains:[t,n],relevance:0}}]},{className:"template-variable", -begin:/\{\{/,end:/\}\}/,contains:["self",t,n]}]}}})());
\ No newline at end of file |