提交 | 用户 | 时间 | ||
759b1c | 1 | const hljs = require("highlight.js/lib/core"); |
H | 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; |