Fork自 GitCode / 1024程序员开源挑战赛(10.23-11.14)
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}]})})());