summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/mojolicious.min.js
blob: 3b762cede5033bb50d195d1a6344f703b2640f9b (plain)
1
2
3
4
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}]})})());