mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
Use existing Remark components
This commit is contained in:
parent
c48c8d55e7
commit
2a97e897a6
|
@ -1,3 +0,0 @@
|
|||
const mdxComponents = {}
|
||||
|
||||
export default mdxComponents
|
|
@ -1,10 +1,10 @@
|
|||
import type { AppProps } from 'next/app'
|
||||
import { MDXProvider } from '@mdx-js/react'
|
||||
import mdxComponents from '../components/mdxComponents'
|
||||
import { remarkComponents } from '../src/remark'
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<MDXProvider components={mdxComponents}>
|
||||
<MDXProvider components={remarkComponents}>
|
||||
<Component {...pageProps} />
|
||||
</MDXProvider>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user