gmunguia / markdown-it-plantuml

:herb: :book: plantuml diagrams in your markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Get UML name from fragment instead of default from config

ThaDaVos opened this issue · comments

This feature request is simple, to make more use out of this plugin we need to have access to the uml name inside the overridable methods for example the generator - currently this is not possible because the uml code passed is also without @startuml and @enduml. The name is defined as follows according to the PlantUML spec:

@startuml {NAME}
A -> B
@enduml

It would be amazing to have this name available so it can be used for example to save the image with a proper name

@gmunguia any eta?

I saw you mentioned this is "officially supported by PlantUML itself" (in #13 (comment)). Could you expand what you mean by that? Is this feature reflected in PlantUml documentation?