mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 07:11:53 +08:00
60 lines
1.5 KiB
JavaScript
60 lines
1.5 KiB
JavaScript
|
import {
|
||
|
__commonJS
|
||
|
} from "./chunk-2TUXWMP5.js";
|
||
|
|
||
|
// node_modules/highlight.js/lib/languages/php-template.js
|
||
|
var require_php_template = __commonJS({
|
||
|
"node_modules/highlight.js/lib/languages/php-template.js"(exports, module) {
|
||
|
function phpTemplate(hljs) {
|
||
|
return {
|
||
|
name: "PHP template",
|
||
|
subLanguage: "xml",
|
||
|
contains: [
|
||
|
{
|
||
|
begin: /<\?(php|=)?/,
|
||
|
end: /\?>/,
|
||
|
subLanguage: "php",
|
||
|
contains: [
|
||
|
// We don't want the php closing tag ?> to close the PHP block when
|
||
|
// inside any of the following blocks:
|
||
|
{
|
||
|
begin: "/\\*",
|
||
|
end: "\\*/",
|
||
|
skip: true
|
||
|
},
|
||
|
{
|
||
|
begin: 'b"',
|
||
|
end: '"',
|
||
|
skip: true
|
||
|
},
|
||
|
{
|
||
|
begin: "b'",
|
||
|
end: "'",
|
||
|
skip: true
|
||
|
},
|
||
|
hljs.inherit(hljs.APOS_STRING_MODE, {
|
||
|
illegal: null,
|
||
|
className: null,
|
||
|
contains: null,
|
||
|
skip: true
|
||
|
}),
|
||
|
hljs.inherit(hljs.QUOTE_STRING_MODE, {
|
||
|
illegal: null,
|
||
|
className: null,
|
||
|
contains: null,
|
||
|
skip: true
|
||
|
})
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
};
|
||
|
}
|
||
|
module.exports = phpTemplate;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export {
|
||
|
require_php_template
|
||
|
};
|
||
|
//# sourceMappingURL=chunk-KJRG2NY6.js.map
|