Browse Source

Theme Support, defaut: Sandstone

master
Christian Aust 2 weeks ago
parent
commit
d1b13651a2
  1. 3
      _plugins/plantuml.rb

3
_plugins/plantuml.rb

@ -28,7 +28,7 @@ module Jekyll
class PlantumlBlock < Liquid::Block
CONFIG_DEFAULT = {
'executable' => "java -Xms128M -Xmx256M -Djava.awt.headless=true -jar #{File.join(__dir__, 'plantuml.jar')}",
'options' => '-nometadata -pipeNoStderr -pipe'
'options' => '-nometadata -pipeNoStderr -pipe',
'theme' => 'sandstone'
}
LOGGER_TOPIC = 'PlantUML:'
@ -56,6 +56,7 @@ module Jekyll
begin
tmpfile.write <<~EOL
@startuml
!theme #{config(context)['theme']}
#{super}
@enduml
EOL

Loading…
Cancel
Save