vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
65 lines (64 loc) • 1.47 kB
JavaScript
var e, o;
function i() {
if (o) return e;
o = 1;
function s(a) {
const n = "\\[", r = "\\]";
return {
name: "Inform 7",
aliases: ["i7"],
case_insensitive: !0,
keywords: {
// Some keywords more or less unique to I7, for relevance.
keyword: (
// kind:
"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"
)
},
contains: [
{
className: "string",
begin: '"',
end: '"',
relevance: 0,
contains: [
{
className: "subst",
begin: n,
end: r
}
]
},
{
className: "section",
begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/,
end: "$"
},
{
// Rule definition
// This is here for relevance.
begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,
end: ":",
contains: [
{
// Rule name
begin: "\\(This",
end: "\\)"
}
]
},
{
className: "comment",
begin: n,
end: r,
contains: ["self"]
}
]
};
}
return e = s, e;
}
export {
i as __require
};
//# sourceMappingURL=inform7.mjs.map