refactor: use rehype-slug and rehype-autolink-headings

This commit is contained in:
Timothy Lin
2021-08-22 17:13:14 +08:00
parent 51feadc0db
commit 0e34d80287
4 changed files with 43 additions and 27 deletions
+2 -2
View File
@@ -27,13 +27,13 @@
"react": "17.0.2",
"react-dom": "17.0.2",
"reading-time": "1.3.0",
"rehype-autolink-headings": "^6.0.0",
"rehype-katex": "^6.0.0",
"rehype-prism-plus": "^0.0.5",
"remark-autolink-headings": "^7.0.0",
"rehype-slug": "^5.0.0",
"remark-footnotes": "^4.0.0",
"remark-gfm": "^2.0.0",
"remark-math": "^5.0.0",
"remark-slug": "^7.0.0",
"sharp": "^0.28.3",
"tailwindcss": "^2.2.2",
"unist-util-visit": "^4.0.0"