mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-09 07:11:53 +08:00
50 lines
1.2 KiB
JavaScript
50 lines
1.2 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/refractor/lang/xml-doc.js
|
|
var require_xml_doc = __commonJS({
|
|
"node_modules/refractor/lang/xml-doc.js"(exports, module) {
|
|
module.exports = xmlDoc;
|
|
xmlDoc.displayName = "xmlDoc";
|
|
xmlDoc.aliases = [];
|
|
function xmlDoc(Prism) {
|
|
;
|
|
(function(Prism2) {
|
|
function insertDocComment(lang, docComment) {
|
|
if (Prism2.languages[lang]) {
|
|
Prism2.languages.insertBefore(lang, "comment", {
|
|
"doc-comment": docComment
|
|
});
|
|
}
|
|
}
|
|
var tag = Prism2.languages.markup.tag;
|
|
var slashDocComment = {
|
|
pattern: /\/\/\/.*/,
|
|
greedy: true,
|
|
alias: "comment",
|
|
inside: {
|
|
tag
|
|
}
|
|
};
|
|
var tickDocComment = {
|
|
pattern: /'''.*/,
|
|
greedy: true,
|
|
alias: "comment",
|
|
inside: {
|
|
tag
|
|
}
|
|
};
|
|
insertDocComment("csharp", slashDocComment);
|
|
insertDocComment("fsharp", slashDocComment);
|
|
insertDocComment("vbnet", tickDocComment);
|
|
})(Prism);
|
|
}
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_xml_doc
|
|
};
|
|
//# sourceMappingURL=chunk-QVXO72ZT.js.map
|