vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
55 lines (54 loc) • 1.2 kB
JavaScript
var n, i;
function l() {
if (i) return n;
i = 1;
function a(e) {
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: !0
},
{
begin: 'b"',
end: '"',
skip: !0
},
{
begin: "b'",
end: "'",
skip: !0
},
e.inherit(e.APOS_STRING_MODE, {
illegal: null,
className: null,
contains: null,
skip: !0
}),
e.inherit(e.QUOTE_STRING_MODE, {
illegal: null,
className: null,
contains: null,
skip: !0
})
]
}
]
};
}
return n = a, n;
}
export {
l as __require
};
//# sourceMappingURL=php-template.mjs.map