-
Notifications
You must be signed in to change notification settings - Fork 0
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
bc2c3d5
commit 97e9692
Showing
2 changed files
with
4 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI | ||
name: Unit Tests | ||
|
||
on: | ||
push: | ||
|
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 |
---|---|---|
@@ -1,17 +1,4 @@ | ||
// next.config.mjs | ||
import withMDX from "@next/mdx"; | ||
import rehypeSlug from "rehype-slug"; | ||
import rehypeAutolinkHeadings from "rehype-autolink-headings"; | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {}; | ||
|
||
const mdxOptions = { | ||
extension: /\.mdx?$/, | ||
options: { | ||
rehypePlugins: [rehypeSlug, rehypeAutolinkHeadings, rehypeHighlight], | ||
}, | ||
}; | ||
|
||
const nextConfig = { | ||
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"], | ||
}; | ||
|
||
export default withMDX(mdxOptions)(nextConfig); | ||
export default nextConfig; |