This is a test project that demonstrates the functionality of the vitepress-mermaid-renderer package.
# Run the PowerShell installation script
.\install.ps1# Make the script executable
chmod +x install.sh
# Run the installation script
./install.shIf you prefer to set up manually:
# Clean up (if needed)
rm -rf node_modules .vitepress/cache dist
# Install dependencies
bun install
# Install the local plugin
bun add ../vitepress-mermaid-renderer-1.0.13.tgz
# Start development server
bun run docs:dev.vitepress/
└── theme/
├── index.ts # Theme configuration
└── style.css # Custom styles
examples/ # Example diagrams
├── basic.md
└── advanced.md
guide/ # Documentation
└── getting-started.md
The project includes various example diagrams to test different Mermaid diagram types and features. Check the examples/ directory for sample diagrams.