Skip to content

Commit 2166e51

Browse files
committed
rev
1 parent 281dde0 commit 2166e51

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

contentlayer.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { defineDocumentType, makeSource } from "contentlayer-temp/source-files"
22
import { format, parseISO } from "date-fns"
33
import readingTime from "reading-time"
44
import rehypeSlug from "rehype-slug"
5-
import remarkFrontmatter from "remark-frontmatter"
65
import remarkGfm from "remark-gfm"
76

87
import { remarkHashtags } from "./src/lib/hashtags"
@@ -75,7 +74,7 @@ export default makeSource({
7574
contentDirPath: "posts",
7675
documentTypes: [Post],
7776
mdx: {
78-
remarkPlugins: [remarkFrontmatter, remarkHashtags, remarkGfm],
77+
remarkPlugins: [remarkHashtags, remarkGfm],
7978
rehypePlugins: [rehypeSlug],
8079
},
8180
})

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"react-dom": "^18.2.0",
2929
"reading-time": "^1.5.0",
3030
"rehype-slug": "^6.0.0",
31-
"remark-frontmatter": "^5.0.0",
3231
"remark-gfm": "^4.0.0",
3332
"vivus": "^0.4.6"
3433
},

0 commit comments

Comments
 (0)