feat: 优化性能

This commit is contained in:
539943419 committed 2025-01-13 01:49:55 +08:00
1 parent 40379326b5
commit 7086e336cb
12 files changed
+438 -67

No files matched your search

+5 -1
View File
@@ -1,5 +1,9 @@
let md: { default: any; }
export default async function useMarkdownit() {
const md = await import('markdown-it');
if(!md) {
md = await import('markdown-it');
}
const markdownit = md.default;
const mdit = markdownit({
html: true,