Skip to content

Commit

Permalink
feat: 集成常用 remark/rehype 插件
Browse files Browse the repository at this point in the history
  • Loading branch information
c0dedance committed Oct 18, 2023
1 parent ee4ba2d commit 2060632
Show file tree
Hide file tree
Showing 9 changed files with 1,166 additions and 19 deletions.
8 changes: 8 additions & 0 deletions e2e/playground/basic/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: 'island'
---
# GFM

## Autolink

literals www.example.com, https://example.com, and contact@example.com.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"vitest": "^0.34.6"
},
"dependencies": {
"@mdx-js/rollup": "2.1.3",
"@vitejs/plugin-react": "^4.1.0",
"cac": "^6.7.14",
"fast-glob": "^3.3.1",
Expand All @@ -56,7 +57,12 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "6.4.3",
"rehype-autolink-headings": "^7.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.0",
"remark-mdx-frontmatter": "^3.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"rollup": "^4.0.2",
Expand Down

0 comments on commit 2060632

Please sign in to comment.