vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
33 lines (32 loc) • 783 B
JavaScript
var e, s;
function r() {
if (s) return e;
s = 1;
function l(n) {
return {
name: "Shell Session",
aliases: [
"console",
"shellsession"
],
contains: [
{
className: "meta.prompt",
// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.
// For instance, in the following example, it would match "echo /path/to/home >" as a prompt:
// echo /path/to/home > t.exe
begin: /^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,
starts: {
end: /[^\\](?=\s*$)/,
subLanguage: "bash"
}
}
]
};
}
return e = l, e;
}
export {
r as __require
};
//# sourceMappingURL=shell.mjs.map