You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PlantUML supports importing common themes into your diagrams like so:
@startuml
!include my_fav_skin.iuml
@enduml
Problem:
When you use this plugin with the server it can't read that file since it's local to the markdown file and not on the server it self.
You could include it by putting it in the "source" tag but that doesn't work if you are already including a file that you want to skin.
Proposal:
Add a "skin" tag which you can import the skin from. The logic would work exactly like "source" does today by reading the file and concatenating the text.
Having said the above I'm thinking why don't we just read the !includes line and read that file instead of using the tags? That way we can load files + skin params and anything else anyone includes?
The text was updated successfully, but these errors were encountered:
Having said the above I'm thinking why don't we just read the !includes line and read that file instead of using the tags? That way we can load files + skin params and anything else anyone includes?
I think I have covered this in my pull request #65@STEELBADGE . Let me know if this works for you?
PlantUML supports importing common themes into your diagrams like so:
Problem:
When you use this plugin with the server it can't read that file since it's local to the markdown file and not on the server it self.
You could include it by putting it in the "source" tag but that doesn't work if you are already including a file that you want to skin.
Proposal:
Add a "skin" tag which you can import the skin from. The logic would work exactly like "source" does today by reading the file and concatenating the text.
skin="my_fav_skin.iuml"
@startuml
!include my_fav_skin.iuml
@enduml
Having said the above I'm thinking why don't we just read the !includes line and read that file instead of using the tags? That way we can load files + skin params and anything else anyone includes?
The text was updated successfully, but these errors were encountered: