y-takey / atom-mermaid

Preview mermaid on atom editor
MIT License
42 stars 7 forks source link

The classes annotations are invalids in class diagram. #68

Closed Andras787 closed 3 years ago

Andras787 commented 3 years ago

Hello,

I wanted to use class annotations in the class diagrams but these could not be shown.

E.g.: <\>, <\>, etc...

class

I tested it on the mermaid live editor site and works. Maybe there is a new standard syntax which has not implemented yet in this plugin.

This mermaid plugin is very useful for us in Atom and the class annotation might be a nice feature for everyone in the future.

Thank you very much!

y-takey commented 3 years ago

Hello @Andras787 ,

Thank you for the issue. :) Updated this plugin and published a newer version(v3.6.0). But i don't test fully, so please tell me if you find a bug.

Andras787 commented 3 years ago

Hello @y-takey

thank you for very fast update! :) It works from now.

Maybe only one tiny thing: when I use annotation, the class name and annotation are not in center of class header. E.g.:

image

Thanks again!

y-takey commented 3 years ago

Thanks your quick response.

when I use annotation, the class name and annotation are not in center of class header.

Hmm, It seems strange. I will fix the issue when i have time.