plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.6k stars 462 forks source link

Allow specifying a PlantUML configuration file #236

Closed tmons closed 1 year ago

tmons commented 1 year ago

This pull requests introduces a PLANTUML_CONFIG_FILE environment variable that allows one to specify a path to a local PlantUML configuration file that should be applied to all diagrams. This allows server administrators to change the default theme, set default styling options, etc. It uses the same functionality exposed by the -config flag of the PlantUML CLI.

Implementation details:

arnaudroques commented 1 year ago

This is a good idea! However, I think we will move this code to the core library (that is, plantuml.jar) so that every tool can take advantage of this. In the mean time, we have merged your contribution. Thanks again!

jcayzac commented 11 months ago

Solves #169.