mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 11:46:30 +08:00
8 lines
529 B
JavaScript
8 lines
529 B
JavaScript
/*! `php-template` grammar compiled for Highlight.js 11.8.0 */
|
|
(()=>{var n=(()=>{"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})]}]})})()
|
|
;hljs.registerLanguage("php-template",n)})(); |