Update n00b-gettingStarted.md

This commit is contained in:
erelling 2019-11-08 01:31:21 +01:00 committed by GitHub
parent 7319d8941a
commit 07f5c7c89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -141,6 +141,17 @@ Save this to a html file and fetch it with a browser from the web server (or jus
---
A more condensed code can be achieved by embedding the mermaid code in its own .js file, which is referenced like so:
```
stuff stuff
</div>
</body>
</html>
```
---
**Three additional comments from Knut Sveidqvist, creator of mermaid:**
- In early versions of mermaid, the `<script src>` tag was invoked in the `<head>` part of the web page. Nowdays we can place it directly in `<body>` as seen above. However, the documentation still frequently reflects the old way which still works.