summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/taggerscript.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/taggerscript.min.js')
-rw-r--r--pyssg.xyz/live/static/hl/languages/taggerscript.min.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/taggerscript.min.js b/pyssg.xyz/live/static/hl/languages/taggerscript.min.js
new file mode 100644
index 0000000..85f1043
--- /dev/null
+++ b/pyssg.xyz/live/static/hl/languages/taggerscript.min.js
@@ -0,0 +1,6 @@
+hljs.registerLanguage("taggerscript",(()=>{"use strict";return e=>({
+name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,
+contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{
+className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,
+excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{
+className:"symbol",begin:/\\./}]})})()); \ No newline at end of file