` with the desired version number.
Alternatively, you can also adjust the version number in the page itself.
-Latest Version: [https://unpkg.com/browse/mermaid@8.6.0/](https://unpkg.com/browse/mermaid@8.6.0/)
+Latest Version: [https://unpkg.com/browse/mermaid@8.8.0/](https://unpkg.com/browse/mermaid@8.8.0/)
## Incorporating mermaid to a website
To support mermaid on your website, all you have to do is add Mermaidβs JavaScript package
@@ -191,7 +191,7 @@ To support mermaid on your website, all you have to do is add Mermaidβs JavaSc
```
## Doing so will command the mermaid parser to look for the `` tags with `class="mermaid"` in your HTML Document. From these tags mermaid will try to read the diagram/chart definitons and render them as svg charts.
-## Examples can be found in [Getting Started](./n00b-gettingStarted.md)
+## Examples can be found in [Getting Started](getting-started/n00b-gettingStarted.md)
# Sibling projects
- [Mermaid Live Editor](https://github.com/mermaidjs/mermaid-live-editor)
diff --git a/docs/_config.yml b/docs/_config.yml
index f8eaa0ba6..4cff4dcbc 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -2,13 +2,13 @@ title: mermaid
lang: en
description: Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.
-# theme: jekyll-rtd-theme
remote_theme: rundocs/jekyll-rtd-theme
mermaid:
custom: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js
-
+
copyright:
+ since: 2014
revision: true
edit: true
diff --git a/docs/diagrams-and-syntax-and-examples/classDiagram.md b/docs/diagrams-and-syntax-and-examples/classDiagram.md
index a23d527e2..489c7370e 100644
--- a/docs/diagrams-and-syntax-and-examples/classDiagram.md
+++ b/docs/diagrams-and-syntax-and-examples/classDiagram.md
@@ -612,7 +612,7 @@ The main styling of the class diagram is done with a preset number of css classe
#### Sample stylesheet
-```css
+```scss
body {
background: white;
}
diff --git a/docs/diagrams-and-syntax-and-examples/directives.md b/docs/diagrams-and-syntax-and-examples/directives.md
index 748798210..d00fc9c4f 100644
--- a/docs/diagrams-and-syntax-and-examples/directives.md
+++ b/docs/diagrams-and-syntax-and-examples/directives.md
@@ -4,7 +4,7 @@ sort: 10
## Directives
-## Directives were added in [Version 8.6.0](/8.6.0_docs.md). Please Read it for more information.
+## Directives were added in [Version 8.6.0](../getting-started/8.6.0_docs.md). Please Read it for more information.
## Directives
With this version, directives are supported. Directives are divided in two sets, by priority. the first set, containing 'init' or 'initialize' directives take priority. While the other set, containing all other kinds of directives are considered only after 'init' and the graph-type declared.
diff --git a/docs/diagrams-and-syntax-and-examples/examples.md b/docs/diagrams-and-syntax-and-examples/examples.md
index 9eb7bc59b..c6f33cae2 100644
--- a/docs/diagrams-and-syntax-and-examples/examples.md
+++ b/docs/diagrams-and-syntax-and-examples/examples.md
@@ -6,9 +6,9 @@ sort: 2
This page contains a collection of examples of diagrams and charts that can be created through mermaid and its myriad applications.
-## If you wish to learn how to support mermaid on your webpage, read the [Beginner's Guide](https://mermaid-js.github.io/mermaid/#/n00b-gettingStarted).
+## If you wish to learn how to support mermaid on your webpage, read the [Beginner's Guide](../getting-started/n00b-gettingStarted.md).
-## If you wish to learn about mermaid's syntax, Read the [Diagram Syntax](https://mermaid-js.github.io/mermaid/#/n00b-syntaxReference) section.
+## If you wish to learn about mermaid's syntax, Read the [Diagram Syntax](n00b-syntaxReference.md) section.
## Basic Pie Chart
diff --git a/docs/diagrams-and-syntax-and-examples/flowchart.md b/docs/diagrams-and-syntax-and-examples/flowchart.md
index f785d5c1d..6a9245e23 100644
--- a/docs/diagrams-and-syntax-and-examples/flowchart.md
+++ b/docs/diagrams-and-syntax-and-examples/flowchart.md
@@ -609,7 +609,7 @@ click nodeId callback
Examples of tooltip usage below:
-```
+```html
+```
[1]: Setup.md?id=render
diff --git a/docs/getting-started/Tutorials.md b/docs/getting-started/Tutorials.md
index 442a799c8..87ce7d1ab 100644
--- a/docs/getting-started/Tutorials.md
+++ b/docs/getting-started/Tutorials.md
@@ -1,12 +1,12 @@
-# Tutorials
+# Tutorials
This is list of publicly available Tutorials in Mermaid. This is intended as a basic introduction for the use of the Live Editor and HTML with mermaid.
-For the purposes, the Live-Editor is capable of taking care of all diagramming needs, and these are the most common use cases for it.
+For the purposes, the Live-Editor is capable of taking care of all diagramming needs, and these are the most common use cases for it.
-# Live-Editor Tutorials
-The definitions that can be generated the Live-Editor are also backwards-compatible as of version 8.7.0.
+## Live-Editor Tutorials
+The definitions that can be generated the Live-Editor are also backwards-compatible as of version 8.7.0.
https://www.youtube.com/watch?v=SQ9QmuTHuSI&t=438s
@@ -20,10 +20,10 @@ https://www.youtube.com/watch?v=7_2IroEs6Is&t=207s
https://www.youtube.com/watch?v=9HZzKkAqrX8
-# Mermaid with HTML:
-Examples are provided in [Gettting Started](./docs/n00b-gettingStarted.md)
+## Mermaid with HTML:
+Examples are provided in [Gettting Started](n00b-gettingStarted.md)
-**CodePen Examples:**
+**CodePen Examples:**
https://codepen.io/CarlBoneri/pen/BQwZzq
@@ -32,7 +32,6 @@ https://codepen.io/tdkn/pen/vZxQzd
https://codepen.io/janzeteachesit/pen/OWWZKN
-## Mermaid with Text Area:
-
-https://codepen.io/Ryuno-Ki/pen/LNxwgR
+## Mermaid with Text Area:
+https://codepen.io/Ryuno-Ki/pen/LNxwgR
diff --git a/docs/getting-started/n00b-gettingStarted.md b/docs/getting-started/n00b-gettingStarted.md
index 40c9627e6..adb51835f 100644
--- a/docs/getting-started/n00b-gettingStarted.md
+++ b/docs/getting-started/n00b-gettingStarted.md
@@ -14,13 +14,13 @@ This then renders a diagram based on that code in SVG, alternatively it
Most web browsers, such as Firefox, Chrome and Safari, can render mermaid, Internet Explorer however cannot.
## For beginners, there are four relatively easy ways you can use mermaid:
-1. Using the mermaid [live editor](https://mermaid-js.github.io/mermaid-live-editor/). For some popular video tutorials on the live editor go to [Overview](./n00b-overview.md).
-2. Using one of the many [mermaid plugins](https://mermaid-js.github.io/mermaid/#/integrations).
+1. Using the mermaid [live editor](https://mermaid-js.github.io/mermaid-live-editor/). For some popular video tutorials on the live editor go to [Overview](../overview/n00b-overview.md).
+2. Using one of the many [mermaid plugins](../overview/integrations.md).
3. Hosting mermaid on a webpage, with an absolute link.
4. Downloading mermaid and hosting it on your Web Page.
**Notes**: More in depth information can be found on [Usage](./usage.md).
-.
+
# Following any of these examples, you can get started with creating your own diagrams using mermaid code.
## 1. The mermaid live editor:
@@ -31,7 +31,7 @@ In the `Code` section one can write or edit raw mermaid code, and instantly `Pre
**This is a great way to learn how to define a mermaid diagram.**
-For some popular video tutorials on the live editor go to [Overview](./n00b-overview.md).
+For some popular video tutorials on the live editor go to [Overview](../overview/n00b-overview.md).
![Flowchart](../assets/img/n00b-liveEditor.png)
@@ -41,12 +41,12 @@ You can also click "Copy Markdown" to copy the markdown code for the diagram, th
![Flowchart](../assets/img/liveEditorOptions.png)
-The `Mermaid configuration` is for controlling mermaid behaviour. An easy introduction to mermaid configuration is found in the [Advanced usage](n00b-advanced.md) section. A complete configuration reference cataloguing default values is found on the [mermaidAPI](https://mermaid-js.github.io/mermaid/#/Setup) page.
+The `Mermaid configuration` is for controlling mermaid behaviour. An easy introduction to mermaid configuration is found in the [Advanced usage](n00b-advanced.md) section. A complete configuration reference cataloguing default values is found on the [mermaidAPI](Setup.md) page.
## 2. Using mermaid plugins:
-Thanks to the growing popularity of mermaid, many plugins already exist which incorporate a mermaid renderer. An extensive list can be found [here](./integrations.md).
+Thanks to the growing popularity of mermaid, many plugins already exist which incorporate a mermaid renderer. An extensive list can be found [here](../overview/integrations.md).
One example in the list is the [Atlassian Confluence mermaid plugin](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)
@@ -75,11 +75,11 @@ When the mermaid plugin is installed on a Confluence server, one can insert a me
- Save the page and the diagram appears.
-![Flowchart](../../assets/img/n00b-Confluence4.png)
+![Flowchart](../assets/img/n00b-Confluence4.png)
---
## The following are two ways of hosting mermaid on a webpage.
-**This is covered in greater detail in the [Usage section](https://mermaid-js.github.io/mermaid/#/usage)**
+**This is covered in greater detail in the [Usage section](usage.md)**
## 3. Using the Mermaid API: The quick and dirty way of deploying mermaid
@@ -106,7 +106,7 @@ c. The `mermaid.initialize()` API call to start the rendering process.
### a. A reference to the address of the `mermaid.js` or the `mermaid.min.js` file has to be contained in a `