feat: complete MDX migration for blog, fix diagram fidelity and refactor styling architecture
This commit is contained in:
11
apps/web/mdx-components.tsx
Normal file
11
apps/web/mdx-components.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
// import type { MDXComponents } from 'mdx/types'; // Commented out due to resolution issue
|
||||
import { mdxComponents as registryComponents } from './src/content-engine/registry';
|
||||
|
||||
export const MDXComponents = registryComponents;
|
||||
|
||||
export function useMDXComponents(components: any): any {
|
||||
return {
|
||||
...components,
|
||||
...registryComponents,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user