Release Date: January 27, 2025
Issue: #6
Branch: feature/mermaid-integration-v2
We’re excited to announce Zer0-Mistakes v0.3.0, featuring a comprehensive Mermaid diagram integration system that brings powerful diagramming capabilities to your Jekyll sites with GitHub Pages compatibility.
---
title: "My Page with Diagrams"
mermaid: true
---
<div class="mermaid">
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Success]
B -->|No| D[Try Again]
</div>
Your diagram will render automatically when the page loads.
mermaid: true to front matter_includes/components/mermaid.html - Core Mermaid configurationpages/_docs/jekyll/mermaid.md - Main comprehensive guidepages/_docs/jekyll/jekyll-diagram-with-mermaid.md - Integration tutorialpages/_docs/jekyll/mermaid-test-suite.md - Test suite with examplesscripts/test-mermaid.sh - Comprehensive test script_includes/core/head.html - Added conditional Mermaid loading_config.yml - Added plugin configuration and exclusionslib/jekyll-theme-zer0/version.rb - Version bump to 0.3.0package.json - Version bump to 0.3.0docs/MERMAID-QUICKSTART.md - Consolidated into main guidepages/_docs/jekyll/generating-diagrams-and-flowcharts-with-mermaid.md - Outdatedscripts/validate-mermaid-native.sh - Consolidated into main test script<div class="mermaid">
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Success]
B -->|No| D[Try Again]
</div>
<div class="mermaid">
sequenceDiagram
Alice->>John: Hello John!
John-->>Alice: Hello Alice!
</div>
<div class="mermaid">
classDiagram
Animal <|-- Duck
Animal : +int age
Animal: +isMammal()
</div>
# Quick validation
./scripts/test-mermaid.sh --quick
# Full test suite
./scripts/test-mermaid.sh
# Test specific environment
./scripts/test-mermaid.sh --local
./scripts/test-mermaid.sh --docker
/docs/jekyll/mermaid//docs/jekyll/jekyll-diagram-with-mermaid//docs/jekyll/mermaid-test-suite/_config.yml settings_includes/components/mermaid.html# Clone the repository
git clone https://github.com/bamr87/zer0-mistakes.git
# Install dependencies
bundle install
# Start local server
bundle exec jekyll serve
# Pull the latest changes
git pull origin main
# Update dependencies
bundle update
# Test the new features
./scripts/test-mermaid.sh --quick
mermaid: true in front matter./scripts/test-mermaid.sh for validationZer0-Mistakes v0.3.0 represents a significant milestone in Jekyll theme development, providing users with a robust, well-documented, and thoroughly tested Mermaid diagram integration system. This release brings powerful diagramming capabilities to Jekyll sites while maintaining GitHub Pages compatibility and following best practices for performance and maintainability.
Key Benefits:
Get started today and bring your content to life with beautiful diagrams!
Download: Zer0-Mistakes v0.3.0
Documentation: Complete Guide
Issues: Report Bugs
Community: Join Discussions