mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 17:18:17 +08:00
35 lines
957 B
JavaScript
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
|