Wiki Page Plantuml using !include
I am trying to draw c4-model using plantuml in a Gitlab wiki page, which need to include c4-plantuml components.
I firstly tried to include components relatively in wiki repo, just like:
-------- apps.md
|
|----- styles
| |----- C4_Context.puml
| |----- C4_Container.puml
| |----- C4_Component.puml
And in apps.md, there is:
@startuml
!include ./styles/C4_Context.puml
@enduml
In wiki page, I got an error "Syntax Error?" referencing that line "!include ./styles/C4_Context.puml".
However, I use !includeurl
to include https://raw.githubusercontent.com/RicardoNiepel/C4-PlantUML/master/C4_Context.puml
, the wiki page can display.
It seems the include macro isn't supported? Or is there any problem in my usage?