Mermaid Quick Start
Add beautiful diagrams to your Jekyll content using simple text syntax.
β¨ Basic Usage
Simply use fenced code blocks with mermaid as the language:
π Common Diagram Types
Flowchart
Sequence Diagram
Class Diagram
π§ Setup (Already Configured)
This site is already configured with Mermaid support. The configuration includes:
- β
Jekyll plugin installed (
jekyll-mermaid) - β CDN script loaded in layouts
- β Runtime conversion for fenced code blocks
- β Cross-browser compatibility
π Best Practices
- Use fenced code blocks (````mermaid`) instead of Liquid tags
- Test diagrams at Mermaid Live Editor first
- Keep diagrams simple for better readability
- Use descriptive labels for accessibility
π Quick Troubleshooting
Diagram shows as code?
- Ensure youβre using ````mermaid` fenced blocks
- Check browser console for JavaScript errors
Syntax error message?
- Validate syntax at mermaid.live
- Avoid special characters that might be HTML-encoded
π More Information
- Full Setup Guide: Mermaid Configuration Guide
- Official Docs: mermaid.js.org
- Live Editor: mermaid.live
For detailed configuration, troubleshooting, and advanced usage, see the complete configuration guide.
My Info Just Under Glass