mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
feat(components): create MdxComponents for custom rendering of MDX content
This commit is contained in:
parent
c0a876322c
commit
9eb6f89587
6
src/components/content/mdx-components.tsx
Normal file
6
src/components/content/mdx-components.tsx
Normal file
@ -0,0 +1,6 @@
|
||||
import { HTMLAttributes } from "react";
|
||||
import { Pre } from "@/components/content/pre";
|
||||
|
||||
export const MdxComponents = {
|
||||
pre: (props: HTMLAttributes<HTMLPreElement>) => <Pre {...props} />,
|
||||
};
|
Loading…
Reference in New Issue
Block a user