引入 mdx 以显示 markdown 文档,使用 tailwind 默认排版样式;修正 eslint 规则

This commit is contained in:
2025-06-05 17:29:32 +08:00
parent c17c17724f
commit 7fff0308d0
11 changed files with 1358 additions and 7 deletions

7
src/mdx-components.tsx Normal file
View File

@@ -0,0 +1,7 @@
import type { MDXComponents } from 'mdx/types'
export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
...components,
}
}