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

The documentation does not say how to use it? #3

Open
vikaskedia opened this issue Aug 25, 2016 · 1 comment
Open

The documentation does not say how to use it? #3

vikaskedia opened this issue Aug 25, 2016 · 1 comment

Comments

@vikaskedia
Copy link

vikaskedia commented Aug 25, 2016

I tried 2 different options:

Option1: Using it with the code fence

Inside the gitbook I wrote the content:

graph TD;
    A-->B;
Loading

And once the bitbook was built all I got was a code fence inside the gitbook instead of the diagram:

screen shot 2016-08-24 at 7 25 35 pm

Option2: Using it with a block

Inside the gitbook I wrote the content:

{% mermaid %}
graph TD;
A-->B;
{% endmermaid %}

gitbook build gives error

screen shot 2016-08-24 at 7 23 04 pm

@OldS9l
Copy link

OldS9l commented Dec 17, 2016

This works.

```graph
 graph TD;
   A-->B;
   A-->C;
   B-->D;
   C-->D;
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants