@startuml ' please defined $ThemeToBeChecked before the file is included (sample see TestThemeC4_FirstTest.puml) ' [At]startuml ' !$UseTheme=C4_FirstTest ' !if %variable_exists("RELATIVE_INCLUDE") ' !include ./TestThemeTemplate.puml ' !else ' !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/percy/TestThemeTemplate.puml ' !endif ' [At]enduml !$UseTheme?="C4_FirstTest" ' convert it with additional command line argument -DRELATIVE_INCLUDE="./.." to use locally !if %variable_exists("RELATIVE_INCLUDE") ' !theme C4_FirstTest from %get_variable_value("RELATIVE_INCLUDE")/themes !theme $UseTheme from ./../themes !else !theme $UseTheme from https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/themes !endif !if %variable_exists("RELATIVE_INCLUDE") !include ./TestAllElementsWithLegend.puml !else !include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/percy/TestAllElementsWithLegend.puml !endif @enduml