mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 22:08:16 +08:00
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/highlight.js/lib/languages/dust.js
|
|
var require_dust = __commonJS({
|
|
"node_modules/highlight.js/lib/languages/dust.js"(exports, module) {
|
|
function dust(hljs) {
|
|
const EXPRESSION_KEYWORDS = "if eq ne lt lte gt gte select default math sep";
|
|
return {
|
|
name: "Dust",
|
|
aliases: ["dst"],
|
|
case_insensitive: true,
|
|
subLanguage: "xml",
|
|
contains: [
|
|
{
|
|
className: "template-tag",
|
|
begin: /\{[#\/]/,
|
|
end: /\}/,
|
|
illegal: /;/,
|
|
contains: [{
|
|
className: "name",
|
|
begin: /[a-zA-Z\.-]+/,
|
|
starts: {
|
|
endsWithParent: true,
|
|
relevance: 0,
|
|
contains: [hljs.QUOTE_STRING_MODE]
|
|
}
|
|
}]
|
|
},
|
|
{
|
|
className: "template-variable",
|
|
begin: /\{/,
|
|
end: /\}/,
|
|
illegal: /;/,
|
|
keywords: EXPRESSION_KEYWORDS
|
|
}
|
|
]
|
|
};
|
|
}
|
|
module.exports = dust;
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_dust
|
|
};
|
|
//# sourceMappingURL=chunk-KHU6WVNR.js.map
|