Skip to content

cloudrainstar/redmine_mermaid_macro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redmine Mermaid Macro Plugin

This plugin adds a mermaid graph macro to wiki formated fields.

About mermaid: https://mermaidjs.github.io

Example

{{mermaid
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
}}

Example

Installation

  1. Clone or copy files into the Redmine plugins directory
    git clone https://github.com/taikii/redmine_mermaid_macro.git plugins/redmine_mermaid_macro
    
  2. Restart Redmine

Configration

You can configure mermaid.js URL on Administration -> Plugins page. Default value is UNPKG CDN. https://unpkg.com/mermaid/dist/mermaid.min.js

License

MIT

Packages

No packages published

Languages

  • Ruby 73.3%
  • JavaScript 20.8%
  • HTML 5.9%