Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I do comments? #47

Closed
vi opened this issue Dec 10, 2014 · 5 comments
Closed

How do I do comments? #47

vi opened this issue Dec 10, 2014 · 5 comments
Labels
Type: Enhancement New feature or request

Comments

@vi
Copy link

vi commented Dec 10, 2014

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

@knsv knsv added the Type: Enhancement New feature or request label Dec 11, 2014
@knsv
Copy link
Collaborator

knsv commented Dec 11, 2014

Hi!

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

@vi
Copy link
Author

vi commented Dec 13, 2014

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

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

@knsv
Copy link
Collaborator

knsv commented Dec 15, 2014

Included in release 0.2.16

@knsv knsv closed this as completed Dec 15, 2014
@nicktimko
Copy link

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

%% Comments after double percent signs

@lukewlms
Copy link

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

Very simple diagram:

classDiagram
%% 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'

@mermaid-js mermaid-js locked as resolved and limited conversation to collaborators Nov 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants