Skip to content

wanliangxin/plantuml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#PlantUML Redmine plugin

This plugin will allow adding PlantUML diagrams into Redmine.

##Requirements

  • Java
  • PlantUML binary

Installation

  • create a shell script in /usr/bin/plantuml
#!/bin/bash
/usr/bin/java -Djava.io.tmpdir=/var/tmp -Djava.awt.headless=true -jar /PATH_TO_YOUR_PLANTUML_BINARY/plantuml.jar ${@}
  • copy this plugin into the Redmine plugins directory

Usage

  • go to the plugin settings page and add the PlantUML binary path /usr/bin/plantuml
  • PlantUML diagrams can be added as follow:
{{plantuml(png)
  Bob -> Alice : hello
}}
{{plantuml(svg)
  Bob -> Alice : hello
}}
  • you can choose between PNG or SVG images by setting the plantuml macro argument to either png or svg

Known issues

  • PlantUML diagrams are not rendered inside a PDF export, see dkd#1

TODO

  • add image caching

About

PlantUML Plugin for Redmine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 89.3%
  • HTML 5.8%
  • JavaScript 3.9%
  • CSS 1.0%