summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/mojolicious.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/mojolicious.min.js')
-rw-r--r--pyssg.xyz/live/static/hl/languages/mojolicious.min.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/mojolicious.min.js b/pyssg.xyz/live/static/hl/languages/mojolicious.min.js
new file mode 100644
index 0000000..3b762ce
--- /dev/null
+++ b/pyssg.xyz/live/static/hl/languages/mojolicious.min.js
@@ -0,0 +1,5 @@
+hljs.registerLanguage("mojolicious",(()=>{"use strict";return e=>({
+name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",
+begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"
+},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,
+excludeEnd:!0}]})})()); \ No newline at end of file