How do I set global styles for the Dokuwiki plantuml plugin?

0 votes
asked Mar 26, 2016 in Closed question / help by anonymous

I'm trying to set the global defaults for various diagrams in the plantuml diagram.

I've read to set the "-Dplantuml.include.path=<path to dir>", but I've had no luck.

This is the command that plantuml is executing: 

PlantUML execution: /usr/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Dplantuml.include.path="/var/www/html/dokuwiki/conf/plantuml/" -jar '/var/www/html/dokuwiki/bin/plantuml.jar' -charset UTF-8 '/var/www/html/dokuwiki/data/cache/e/eb849477ee911853fe95c0edd20f609c.plantuml.txt' 2>&1

How do I force plantuml to take an include that is transparent to my end users? As in, they don't need to use !include in their diagrams.

1 Answer

0 votes
answered Mar 29, 2016 by plantuml (295,000 points)
 
Best answer
You can use the "-config" option (see http://plantuml.com/command_line.html )

The file specified just after the config flag will be automatically included before each diagram text.

Is this working for you ?
...