This commit is contained in:
@ -62,7 +62,7 @@ export async function getFileBySlug<T>(type: 'authors' | 'blog', slug: string |
|
||||
source,
|
||||
// mdx imports can be automatically source from the components directory
|
||||
cwd: path.join(root, 'components'),
|
||||
xdmOptions(options, frontmatter) {
|
||||
mdxOptions(options, frontmatter) {
|
||||
// this is the recommended way to add custom remark/rehype plugins:
|
||||
// The syntax might look weird, but it protects you in case we add/remove
|
||||
// plugins in the future.
|
||||
|
Reference in New Issue
Block a user