Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply Config to Nested Diagrams #408

Open
zedseven opened this issue Nov 7, 2023 · 0 comments
Open

Apply Config to Nested Diagrams #408

zedseven opened this issue Nov 7, 2023 · 0 comments

Comments

@zedseven
Copy link

zedseven commented Nov 7, 2023

I have a config set like this (dark theme):

!include https://raw.githubusercontent.com/patrik-csak/one-dark-plantuml-theme/main/theme.puml

This works great for most diagrams, but when I have nested (included) ones, it does not:

@startuml

start

:some diagram stuff...;
note right
{{
   !include some-other-diagram.puml
}}
endnote
:some more diagram stuff...;

stop

@enduml

In the above example, the main diagram will have my theme applied, but the nested one inside the note will not.

This is an issue because my diagram has one (dark) theme, and the nested diagrams are bright white.

I'm opening the issue here because it seems like the plugin is what injects the config parameters, but if not, feel free to let me know, and I'll close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant