yuzutech / kroki.io

kroki.io website
https://kroki.io
Mozilla Public License 2.0
8 stars 8 forks source link

Docu: Kroki server, structurizr: mark output format 'base 64' as enabled #108

Closed deining closed 1 year ago

deining commented 1 year ago

Looking into the code base, I realize that output format base64 is enabled for structurizr diagrams. According to my tests, this output format works perfectly fine.

https://github.com/yuzutech/kroki/blob/dfce464ae0264c41ba867e84fc0bcbf5c0d6d934/server/src/main/java/io/kroki/server/service/Structurizr.java#L52

The section Diagram types on kroki.io tells however, that format base64 is not enabled for structurizr diagrams. This should be corrected.

Side note: I wonder why the table in this section has no column txt? Some diagram types, like plantuml produce great textual output. Was this column omitted on purpose? I think we should add this column, informing the users about the possibility to get plain text output for some diagram types. Are the html/markdown sources for kroki.io publicly available? I couldn*t find them on GitHub.

ggrossetie commented 1 year ago

Indeed, you're right. Structurizr export/output is based on PlantUML so txt should work as well.

The source code is here: https://github.com/yuzutech/kroki.io (static HTML pages)