forked from Mosque-ICU/Islamic_ware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a05289
commit 344fe5c
Showing
182 changed files
with
14,788 additions
and
5,733 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import * as mdxComponents from '@/components/mdx' | ||
import { type MDXComponents } from 'mdx/types' | ||
|
||
export function useMDXComponents(components: MDXComponents) { | ||
return { | ||
...components, | ||
...mdxComponents, | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import nextMDX from '@next/mdx' | ||
|
||
import { recmaPlugins } from './src/mdx/recma.mjs' | ||
import { rehypePlugins } from './src/mdx/rehype.mjs' | ||
import { remarkPlugins } from './src/mdx/remark.mjs' | ||
import withSearch from './src/mdx/search.mjs' | ||
|
||
const withMDX = nextMDX({ | ||
options: { | ||
remarkPlugins, | ||
rehypePlugins, | ||
recmaPlugins, | ||
}, | ||
}) | ||
|
||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'], | ||
} | ||
|
||
export default withSearch(withMDX(nextConfig)) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.