Skip to content

Commit

Permalink
docs: add support for task lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Dec 20, 2024
1 parent 1a9da43 commit 0d34d88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'vitepress'
import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
import taskLists from 'markdown-it-task-lists'

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand Down Expand Up @@ -48,6 +49,7 @@ export default defineConfig({
},
config(md) {
md.use(tabsMarkdownPlugin)
md.use(taskLists)
},
},
})
8 changes: 8 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"devDependencies": {
"@catppuccin/vitepress": "^0.1.0",
"markdown-it-task-lists": "^2.1.1",
"vitepress": "^1.5.0",
"vitepress-plugin-tabs": "^0.5.0"
}
Expand Down

0 comments on commit 0d34d88

Please sign in to comment.