Hi,
I am using C4 in Jira plantuml with version 1.2021.12 ( but didnt work in 1.2021.9 either).
In Visual Studio Code it works ( with the exchange of the include to
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
)
Result is
"!if($PlantUMLSupportDynamicLegendColor)
!$fo=$contrastLegend($bg)
!if (%is_dark($color))
fatal parsing error"
Funny that Legend is not show in Visual Studio Code either, so why the heck it is trying to render the legend?
@startuml
!include <c4/C4_Context.puml>
!include <C4/C4_Container>
'HIDE_STEREOTYPE()
AddElementTag("col_ug", $bgColor="#FFFFFF")
System(ug, "User Group")
System(bc,"Business Capability")
System(ps, "Process" )
System(do, "Data Object")
System(if, "Interface")
System(app, "Application")
System(pj, "Project")
System(pv, "Provider")
System(ic, "IT Component")
System(ts,"Tech Stack")
app -left- if
app -left- do
app -up- ug
app -up- bc
app -up- ps
Lay_R(app,pj)
Lay_D(app,pv)
app -down- ic
if - ic
ic -left- pv
ic -right- ts
Lay_D(do,if)
@enduml