mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 17:18:17 +08:00
63 lines
1.4 KiB
JavaScript
63 lines
1.4 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/highlight.js/lib/languages/parser3.js
|
|
var require_parser3 = __commonJS({
|
|
"node_modules/highlight.js/lib/languages/parser3.js"(exports, module) {
|
|
function parser3(hljs) {
|
|
const CURLY_SUBCOMMENT = hljs.COMMENT(
|
|
/\{/,
|
|
/\}/,
|
|
{
|
|
contains: ["self"]
|
|
}
|
|
);
|
|
return {
|
|
name: "Parser3",
|
|
subLanguage: "xml",
|
|
relevance: 0,
|
|
contains: [
|
|
hljs.COMMENT("^#", "$"),
|
|
hljs.COMMENT(
|
|
/\^rem\{/,
|
|
/\}/,
|
|
{
|
|
relevance: 10,
|
|
contains: [CURLY_SUBCOMMENT]
|
|
}
|
|
),
|
|
{
|
|
className: "meta",
|
|
begin: "^@(?:BASE|USE|CLASS|OPTIONS)$",
|
|
relevance: 10
|
|
},
|
|
{
|
|
className: "title",
|
|
begin: "@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"
|
|
},
|
|
{
|
|
className: "variable",
|
|
begin: /\$\{?[\w\-.:]+\}?/
|
|
},
|
|
{
|
|
className: "keyword",
|
|
begin: /\^[\w\-.:]+/
|
|
},
|
|
{
|
|
className: "number",
|
|
begin: "\\^#[0-9a-fA-F]+"
|
|
},
|
|
hljs.C_NUMBER_MODE
|
|
]
|
|
};
|
|
}
|
|
module.exports = parser3;
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_parser3
|
|
};
|
|
//# sourceMappingURL=chunk-YEAIV3II.js.map
|