yuzutech / kroki

Creates diagrams from textual descriptions!
https://kroki.io
MIT License
2.97k stars 224 forks source link

Change max body size using envvars when rendering diagramas #1761

Closed eryalito closed 4 months ago

eryalito commented 4 months ago

From #1760

Allow changing max body sizes using environment variables on mermaid, diagrams.net and excalidraw.

Would it be better to use three different variables, one for each tool (e.g. KROKI_DIAGRAMSNET_MAX_BODY_SIZE) ?

ggrossetie commented 4 months ago

Thanks, it looks good to me! It would be great if you could update this page https://docs.kroki.io/kroki/setup/configuration/ to mention that a new environment variable is available to update the max body size.