includes are not honored within {{ }} block

0 votes
asked Jul 24, 2017 in Bug by boshka (3,480 points)
edited Feb 13, 2018 by boshka
1. Should {{ }} block honor parent's block includes, or should I put !include into the {{}} block explicitly again?

Neither of the above work.


!include skins.iuml /'  this is not honored in the {{ }}  block below '/

a->b: test

note right


!include skins.iuml /' *** this line is not evaluated as well '/


note right


end note


end note


2. additionally {{}} block does not honor the output format (if the parent is in svg format, the child {{}} will be generated as png)

1 Answer

0 votes
answered Jul 25, 2017 by plantuml (204,600 points)
Thanks for the report.
About point 1) we have to think about it. A possible workaround is to duplicate your skins.iuml file to skins2.iuml and to include skins2.iuml in the {{}} block. Or to use !include_many in place of !include

About point 2), we fix the issue in last beta
It should work with SVG. Tell us if it does not.
commented Jul 26, 2017 by boshka (3,480 points)
point 2) works with the last beta, many thanks!