Skip to content

Commit

Permalink
Add mermaidjs plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hhanh00 committed Sep 24, 2024
1 parent d39814c commit 88e4f7c
Show file tree
Hide file tree
Showing 3 changed files with 811 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import footnote from 'markdown-it-footnote'
import { defineConfig } from 'vitepress'
import { withMermaid } from "vitepress-plugin-mermaid"

// https://vitepress.dev/reference/site-config
export default defineConfig({
export default withMermaid({
title: "Warp Zcash Wallet Library",
description: "A High Performance Wallet Synchronization and Transaction Builder for Zcash",
base: '/warp/',
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"devDependencies": {
"vitepress": "^1.3.4"
"mermaid": "^11.2.1",
"vitepress": "^1.3.4",
"vitepress-plugin-mermaid": "^2.0.17"
},
"scripts": {
"docs:dev": "vitepress dev docs",
Expand All @@ -10,4 +12,4 @@
"dependencies": {
"markdown-it-footnote": "^4.0.0"
}
}
}
Loading

0 comments on commit 88e4f7c

Please sign in to comment.