refactor: 💡 使用 markdown-it 替换 marked,获得更好的体验

 Closes: #290 #283
This commit is contained in:
ChandlerVer5
2023-03-05 12:47:53 +08:00
parent de34d97529
commit 8619ac4667
4 changed files with 69 additions and 82 deletions

View File

@@ -23,10 +23,11 @@
"common:prepare": "husky install"
},
"dependencies": {
"@traptitech/markdown-it-katex": "^3.6.0",
"@vueuse/core": "^9.13.0",
"highlight.js": "^11.7.0",
"katex": "^0.16.4",
"marked": "^4.2.12",
"markdown-it": "^13.0.1",
"naive-ui": "^2.34.3",
"pinia": "^2.0.32",
"vue": "^3.2.47",
@@ -40,7 +41,7 @@
"@iconify/vue": "^4.1.0",
"@types/crypto-js": "^4.1.1",
"@types/katex": "^0.16.0",
"@types/marked": "^4.0.8",
"@types/markdown-it": "^12.2.3",
"@types/node": "^18.14.6",
"@vitejs/plugin-vue": "^4.0.0",
"autoprefixer": "^10.4.13",