Mermaid: How do I do comments?

Created on 10 Dec 2014  路  5Comments  路  Source: mermaid-js/mermaid

# or -- or even <!-- --> don't do this.

Enhancement

Most helpful comment

If anyone else finds this before any other docs about it:

%% Comments after double percent signs

All 5 comments

Hi!

We do not have comments yet but I think we should have. Will tag this as an enhancement.

Special characters like ( or ; or [ are not ignored in %% comments.

One of the main usages for comments is [temporarily] commenting out code.

Included in release 0.2.16

If anyone else finds this before any other docs about it:

%% Comments after double percent signs

This doesn't work in the Live Editor, version 8.4.2. Ideas?

Very simple diagram:

%% something
Investment --> "1 or more" Disbursement

Result:

Parse error on line 3:
...iagram%% somethingInvestment --> "1 
---------------------^
Expecting 'CLASS', 'ANNOTATION_START', 'MEMBER', 'SEPARATOR', 'UNICODE_TEXT', 'NUM', 'ALPHA', got 'NEWLINE'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

chen4221 picture chen4221  路  3Comments

init-dcat-ap-de picture init-dcat-ap-de  路  3Comments

lumenwrites picture lumenwrites  路  5Comments

zumdahl76 picture zumdahl76  路  5Comments

gvlx picture gvlx  路  5Comments