fix: upgrade marked dependency to version 17.0.5 to fix code block rendering

This commit is contained in:
Manx98
2026-03-24 23:50:58 +08:00
committed by lyingbug
parent 8d8cc051be
commit 9d2228a826
6 changed files with 22 additions and 27 deletions
@@ -377,10 +377,7 @@ const toggleEditorView = () => {
activeTab.value = isPreviewMode.value ? 'edit' : 'preview'
}
marked.use({
mangle: false,
headerIds: false,
})
marked.use({})
const previewHTML = computed(() => {
if (!form.content) {