Kroki does not render included PlantUML sprites
See original GitHub issueGiven following image is given to Kroki
@startuml
!pragma revision 1
'!define AzurePuml https://raw.githubusercontent.com/RicardoNiepel/Azure-PlantUML/master/dist
'!includeurl AzurePuml/AzureRaw.puml
'!includeurl AzurePuml/Databases/AzureCosmosDb.puml
'!includeurl AzurePuml/Compute/AzureFunction.puml
!include <azure/AzureRaw>
!include <azure/Databases/AzureCosmosDb>
!include <azure/Compute/AzureFunction>
component "<color:red><$AzureFunction></color>" as myFunction
database "<color:#0072C6><$AzureCosmosDb></color>" as myCosmosDb
rectangle "<color:AZURE_SYMBOL_COLOR><$AzureCosmosDb></color>" as mySecondCosmosDb
AzureFunction(mySecondFunction, "Stream Processing", "Consumption")
myFunction --> myCosmosDb
mySecondFunction --> mySecondCosmosDb
@enduml
Then rendering ends with following error message Error 400: Syntax Error? (line: 12)
Image will be rendered when AzureFunction
line removed but even then all sprites are missing.
Below is a link how the image should look in Kroki
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Kroki and PlantUML with local install does not render image
I'm trying to install Kroki (or PlantUML) locallly on another server than Gitlab itself. PlantUML and Kroki are installed with docker. The weird ......
Read more >PlantUML Standard Library
This repository contains PlantUML sprites generated from Cloudinsight icons, which can easily be used in PlantUML diagrams for nice visual representation of ...
Read more >Configuration - Kroki Documentation
While running in SECURE mode, Kroki will prevent PlantUML from including files using the ! include or ! includeurl directive.
Read more >Add support for PlantUML - Visual Studio Feedback
One partial solution we are using is to embed the PantUML diagrams into the markdown files (using ```plantuml code blocks) and then using...
Read more >Software Diagrams - Plant UML vs Mermaid | Dan Does Code
Using the online PlantUML server is not ideal as all your data must go over the internet, plus it adds latency to your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👍 Thanks for the quick fix.
Indeed we could enable this feature for self hosted server. But I need to check how the
include
directive works in PlantUML. More specifically, I don’t know if we can specify the location of includes.@AXGKl Could you please open another issue with this feature request? Thanks!
😉
We could also enable this feature on self hosted server. Not sure if it should be enabled by default or not.