Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/fixture/docbook/diagram-with-include.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@startuml dummy_filename
!include external-diagram.puml
!include_many subdir2/includes.puml
Bob<-Alice : hello2
Bob->Alice : $someReference
@enduml
4 changes: 4 additions & 0 deletions test/fixture/docbook/subdir/another.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ Here are some images:

![jpg from the current path](smile2.jpg)
![jpg from the parent path](../smile.jpg)

## PlantUML diagram with a relative include

![An external PlantUML diagram with a relative include](./diagram-with-relative-include.puml)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@startuml dummy_filename
!include_many ../subdir2/includes.puml
Bob->Alice : $someReference
@enduml
3 changes: 3 additions & 0 deletions test/fixture/docbook/subdir2/includes.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@startuml
!$someReference = "Hello World"
@enduml
4 changes: 4 additions & 0 deletions test/fixture/docbook/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,7 @@ This is an image that's over 500kb so we can be sure that bigger images work:
## Inline PUML file

![An external PlantUML diagram](./external-diagram.puml)

### Inline PUML with includes

![An external PlantUML diagram with includes](./diagram-with-include.puml)