Skip to content

Commit

Permalink
feat: add plugin-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Dec 16, 2024
1 parent 375645f commit fb5112c
Show file tree
Hide file tree
Showing 43 changed files with 2,251 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"cSpell.words": [
"artalk",
"bumpp",
"codepen",
"commitlint",
"composables",
"darkmode",
Expand All @@ -41,6 +42,7 @@
"giscus",
"globby",
"gtag",
"jsfiddle",
"jsonld",
"katex",
"lazyload",
Expand Down
6 changes: 6 additions & 0 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { catalogPlugin } from '@vuepress/plugin-catalog'
import { commentPlugin } from '@vuepress/plugin-comment'
import { docsearchPlugin } from '@vuepress/plugin-docsearch'
import { feedPlugin } from '@vuepress/plugin-feed'
import { markdownDemoPlugin } from '@vuepress/plugin-markdown-demo'
import { markdownExtPlugin } from '@vuepress/plugin-markdown-ext'
import { markdownImagePlugin } from '@vuepress/plugin-markdown-image'
import { markdownIncludePlugin } from '@vuepress/plugin-markdown-include'
Expand Down Expand Up @@ -78,6 +79,11 @@ export default defineUserConfig({
plugins: [
catalogPlugin(),
commentPlugin({ provider: 'Giscus' }),
markdownDemoPlugin({
html: true,
vue: true,
react: true,
}),
docsearchPlugin(),
feedPlugin({
hostname: 'https://ecosystem.vuejs.press',
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@vuepress/plugin-catalog": "workspace:*",
"@vuepress/plugin-comment": "workspace:*",
"@vuepress/plugin-copy-code": "workspace:*",
"@vuepress/plugin-markdown-demo": "workspace:*",
"@vuepress/plugin-docsearch": "workspace:*",
"@vuepress/plugin-feed": "workspace:*",
"@vuepress/plugin-markdown-ext": "workspace:*",
Expand Down
Loading

0 comments on commit fb5112c

Please sign in to comment.