feat(markdown): Migrate to comark for markdown rendering
This commit is contained in:
+9
-11
@@ -86,7 +86,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
// shiki
|
||||
// Shiki
|
||||
'shiki/core',
|
||||
'shiki/wasm',
|
||||
'shiki/engine/javascript',
|
||||
@@ -104,23 +104,21 @@ export default defineNuxtConfig({
|
||||
'@shikijs/langs/json',
|
||||
'@shikijs/langs/bash',
|
||||
|
||||
'comark',
|
||||
'comark/plugins/breaks',
|
||||
'comark/plugins/footnotes',
|
||||
'comark/plugins/math',
|
||||
'comlink',
|
||||
'katex',
|
||||
'shiki',
|
||||
|
||||
'@vue/devtools-core',
|
||||
'@vue/devtools-kit',
|
||||
'@sentry/nuxt',
|
||||
'@floating-ui/vue',
|
||||
'@nuxt/hints/runtime/hydration/component',
|
||||
'@tanstack/vue-virtual',
|
||||
'shiki',
|
||||
'better-auth/vue',
|
||||
'unified',
|
||||
'remark-gfm',
|
||||
'remark-parse',
|
||||
'remark-rehype',
|
||||
'remark-math',
|
||||
'remark-breaks',
|
||||
'rehype-katex',
|
||||
'unist-util-visit',
|
||||
'comlink',
|
||||
'nanoid',
|
||||
'drizzle-orm/pg-core'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user