mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:43:40 +08:00
5 lines
313 B
JavaScript
5 lines
313 B
JavaScript
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}]})})()); |