mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
This commit updates the graphviz plugin implementation to match the official Discourse mermaid theme-component. This moves the rendering to be 100% client-side and 100% SVG, with a builtin fullscreen view. The change improves image quality and simplifies the implementation. Graphviz diagrams will now adopt a fixed 16:9 size in posts, to avoid any scroll jumps.
4 lines
75 B
YAML
Vendored
4 lines
75 B
YAML
Vendored
plugins:
|
|
discourse_graphviz_enabled:
|
|
default: false
|
|
client: true
|