Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plantuml svg loader #800

Merged
merged 9 commits into from
Jan 24, 2022
11 changes: 10 additions & 1 deletion assets/js/plantuml.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/vendor/bootstrap
Submodule bootstrap updated 176 files
1 change: 1 addition & 0 deletions userguide/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ theme = "default"
enable = true
theme = "default"
svg_image_url = "https://www.plantuml.com/plantuml/svg/"
svg = false

[params.katex]
enable = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ entity entity as Foo4
database database as Foo5
collections collections as Foo6
queue queue as Foo7
Foo -> Foo1 : To actor
Foo -> Foo1 : To actor
Foo -> Foo2 : To boundary
Foo -> Foo3 : To control
Foo -> Foo4 : To entity
Expand All @@ -232,7 +232,7 @@ entity entity as Foo4
database database as Foo5
collections collections as Foo6
queue queue as Foo7
Foo -> Foo1 : To actor
Foo -> Foo1 : To actor
Foo -> Foo2 : To boundary
Foo -> Foo3 : To control
Foo -> Foo4 : To entity
Expand All @@ -254,10 +254,14 @@ Other optional settings are:
enable = true
theme = "default"

#Set url to plantuml server
#Set url to plantuml server
#default is http://www.plantuml.com/plantuml/svg/
svg_image_url = "https://www.plantuml.com/plantuml/svg/"

#By default the plantuml implementation uses <img /> tags to display UML diagrams.
#When svg is set to true, diagrams are displayed using <svg /> tags, maintaining functionality like links e.d.
#default = false
svg = true
```

## MindMap support with MarkMap
Expand Down