knowledgebase_law/node_modules/.vite/deps/chunk-MKB52F6C.js
2025-04-11 11:47:09 -04:00

35 lines
957 B
JavaScript

import {
__commonJS
} from "./chunk-2TUXWMP5.js";
// node_modules/highlight.js/lib/languages/shell.js
var require_shell = __commonJS({
"node_modules/highlight.js/lib/languages/shell.js"(exports, module) {
function shell(hljs) {
return {
name: "Shell Session",
aliases: ["console"],
contains: [
{
className: "meta",
// 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"
}
}
]
};
}
module.exports = shell;
}
});
export {
require_shell
};
//# sourceMappingURL=chunk-MKB52F6C.js.map