提交 | 用户 | 时间 | ||
722af2 | 1 | const hljs = require("highlight.js/lib/core"); |
X | 2 | hljs.registerLanguage("xml", require("highlight.js/lib/languages/xml")); |
3 | hljs.registerLanguage("json", require("highlight.js/lib/languages/json")); | |
4 | ||
5 | module.exports = hljs; |