@@ -4,56 +4,6 @@ import type { MDXComponents } from "mdx/types";
44export function getMDXComponents ( components ?: MDXComponents ) : MDXComponents {
55 return {
66 ...defaultMdxComponents ,
7- a : ( { children, ...props } ) => (
8- < a className = "hover-link" { ...props } >
9- { children }
10- </ a >
11- ) ,
12- code : ( { children, ...props } ) => (
13- < code className = "hover-darken-text" { ...props } >
14- { children }
15- </ code >
16- ) ,
17- pre : ( { children, ...props } ) => (
18- < pre className = "hover-darken-bg" { ...props } >
19- { children }
20- </ pre >
21- ) ,
22- blockquote : ( { children, ...props } ) => (
23- < blockquote className = "hover-darken-bg" { ...props } >
24- { children }
25- </ blockquote >
26- ) ,
27- h1 : ( { children, ...props } ) => (
28- < h1 className = "hover-darken-text" { ...props } >
29- { children }
30- </ h1 >
31- ) ,
32- h2 : ( { children, ...props } ) => (
33- < h2 className = "hover-darken-text" { ...props } >
34- { children }
35- </ h2 >
36- ) ,
37- h3 : ( { children, ...props } ) => (
38- < h3 className = "hover-darken-text" { ...props } >
39- { children }
40- </ h3 >
41- ) ,
42- h4 : ( { children, ...props } ) => (
43- < h4 className = "hover-darken-text" { ...props } >
44- { children }
45- </ h4 >
46- ) ,
47- h5 : ( { children, ...props } ) => (
48- < h5 className = "hover-darken-text" { ...props } >
49- { children }
50- </ h5 >
51- ) ,
52- h6 : ( { children, ...props } ) => (
53- < h6 className = "hover-darken-text" { ...props } >
54- { children }
55- </ h6 >
56- ) ,
577 ...components ,
588 } ;
599}
0 commit comments