joethei / obsidian-plantuml

Generate PlantUML Diagrams inside Obsidian.md
MIT License
368 stars 18 forks source link

Cannot Open URL #54

Open JalilArfaoui opened 6 months ago

JalilArfaoui commented 6 months ago

Is your feature request related to a problem? Please describe. I cannot render a C4 Model diagram that works with Intellij plugin.

Here is the code

!pragma layout smetana
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml

LAYOUT_WITH_LEGEND()  

Person(utilisateur, "Utilisateur")  

Here is what I get :

image

Describe the solution you'd like

Here is what I get with IntelliJ PlantUML plugin :

image

Describe alternatives you've considered I guess I could manage my C4 model outside of Obsidian…

mxstrand commented 5 months ago

I don't have experience with obsidian-plantuml, however generally speaking, if your instance of plantuml includes the Standard Library for PlantUML, C4 and other utilities are available without an internet fetch and can be included with:

!include <C4/C4_Container.puml>