chore: remove @vant/markdown-loader package

This commit is contained in:
chenjiahan
2021-09-07 14:21:05 +08:00
parent f0cc727c6a
commit 6eec7f3c2f
10 changed files with 0 additions and 508 deletions
@@ -1,10 +0,0 @@
const hljs = require('highlight.js');
module.exports = function highlight(str, lang) {
if (lang && hljs.getLanguage(lang)) {
// https://github.com/highlightjs/highlight.js/issues/2277
return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value;
}
return '';
};