Mermaid: underscore in class names not supported

Created on 31 Oct 2016  路  7Comments  路  Source: mermaid-js/mermaid

It seems that providing '_' sign in the class name (e.g. 'unique_ptr') causes class diagram parsing error or is not supported.

Development Class Retained Approved Bug / Error

All 7 comments

I have also found the same issue. Could not find an alternative to specify the class name that would accept the underscore (tried specifying the class name in single and double quotes)

As a workaround: Replace '_' (Underscore) by '' (Blank).
This works for me. At least it does not break the class diagram.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

'' (Blank) does not work for me.

Is there a syntax related reason that _ is not supported ?

hi
any update please ?

@depfryer Hi, you're commenting on an issue that has been closed because it went stale. Does this issue still exist? If so, please be so kind to reproduce it in our live editor and provide the link to your repro. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tylerlong picture tylerlong  路  5Comments

deftdawg picture deftdawg  路  3Comments

pirDOL picture pirDOL  路  3Comments

tokyo786 picture tokyo786  路  3Comments

lumenwrites picture lumenwrites  路  5Comments