initial commit

This commit is contained in:
Jiao77
2026-03-01 09:13:24 +08:00
commit 72baa341cc
43 changed files with 12560 additions and 0 deletions

20
src/mdx-components.ts Normal file
View File

@@ -0,0 +1,20 @@
import Counter from './components/Counter.vue';
import TypstBlock from './components/TypstBlock.astro';
/**
* MDX 组件映射
*
* 在 MDX 文件中可以直接使用这些组件,无需 import。
* 例如:
* ```mdx
* <Counter client:visible />
* <TypstBlock>$ E = mc^2 $</TypstBlock>
* ```
*/
export const components = {
// Vue 交互组件
Counter,
// Astro 静态组件
TypstBlock,
};