mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 08:30:38 +01:00
7 lines
448 B
JavaScript
7 lines
448 B
JavaScript
hljs.registerLanguage("php-template",(()=>{"use strict";return n=>({
|
|
name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,
|
|
subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',
|
|
end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},n.inherit(n.APOS_STRING_MODE,{
|
|
illegal:null,className:null,contains:null,skip:!0
|
|
}),n.inherit(n.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,
|
|
skip:!0})]}]})})()); |