mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(components): create MdxComponents for custom rendering of MDX content
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { HTMLAttributes } from "react";
|
||||
import { Pre } from "@/components/content/pre";
|
||||
|
||||
export const MdxComponents = {
|
||||
pre: (props: HTMLAttributes<HTMLPreElement>) => <Pre {...props} />,
|
||||
};
|
||||
Reference in New Issue
Block a user