discourse/vendor/assets/javascripts/highlightjs/languages/mojolicious.min.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
313 B
JavaScript
Raw Normal View History

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}]})})());