chore: update dependencies in package.json
Some checks failed
Build and Deploy Blog / build-and-deploy-local (push) Failing after 18s
Some checks failed
Build and Deploy Blog / build-and-deploy-local (push) Failing after 18s
- Added remark-gfm to dependencies - Reordered typescript and tailwindcss in devDependencies
This commit is contained in:
@@ -6,6 +6,7 @@ import TableOfContents from "@/components/table-of-contents";
|
||||
import { MDXRemote } from "next-mdx-remote/rsc";
|
||||
import rehypePrettyCode from "rehype-pretty-code";
|
||||
import rehypeSlug from "rehype-slug";
|
||||
import remarkGfm from "remark-gfm";
|
||||
|
||||
interface PageProps {
|
||||
params: Promise<{ slug: string }>;
|
||||
@@ -63,6 +64,7 @@ export default async function Post({ params }: PageProps) {
|
||||
source={postData.content}
|
||||
options={{
|
||||
mdxOptions: {
|
||||
remarkPlugins: [remarkGfm],
|
||||
rehypePlugins: [
|
||||
rehypeSlug,
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user