first commit
This commit is contained in:
9
mdx-components.js
Normal file
9
mdx-components.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useMDXComponents as getThemeComponents } from "nextra-theme-docs";
|
||||
// 或者你的主题,比如 nextra-theme-blog
|
||||
|
||||
export function useMDXComponents(components) {
|
||||
return {
|
||||
...getThemeComponents(),
|
||||
...components,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user