Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
82da87f5
Commit
82da87f5
authored
Dec 01, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add version mermaid support was introduced
parent
4820a195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
doc/user/markdown.md
doc/user/markdown.md
+11
-8
No files found.
doc/user/markdown.md
View file @
82da87f5
...
@@ -41,7 +41,7 @@ Line-breaks, or softreturns, are rendered if you end a line with two or more spa
...
@@ -41,7 +41,7 @@ Line-breaks, or softreturns, are rendered if you end a line with two or more spa
Sugar is sweet
Sugar is sweet
Roses are red
Roses are red
Violets are blue
Violets are blue
Sugar is sweet
Sugar is sweet
...
@@ -370,14 +370,17 @@ This also works for the asciidoctor `:stem: latexmath`. For details see the [asc
...
@@ -370,14 +370,17 @@ This also works for the asciidoctor `:stem: latexmath`. For details see the [asc
### Mermaid
### Mermaid
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15107) in
GitLab 10.3.
> If this is not rendered correctly, see
> If this is not rendered correctly, see
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/markdown.md#mermaid
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/markdown.md#mermaid
It is possible to generate diagrams and flowcharts from text using [Mermaid][mermaid].
It is possible to generate diagrams and flowcharts from text using [Mermaid][mermaid].
In order to generate a diagram or flowchart, you should write your text inside the `mermaid` block.
In order to generate a diagram or flowchart, you should write your text inside the `mermaid` block.
Example:
Example:
```mermaid
```mermaid
graph TD;
graph TD;
...
@@ -385,7 +388,7 @@ Example:
...
@@ -385,7 +388,7 @@ Example:
A-->C;
A-->C;
B-->D;
B-->D;
C-->D;
C-->D;
```
```
Becomes:
Becomes:
...
@@ -395,7 +398,7 @@ graph TD;
...
@@ -395,7 +398,7 @@ graph TD;
A-->C;
A-->C;
B-->D;
B-->D;
C-->D;
C-->D;
```
```
For details see the [Mermaid official page][mermaid].
For details see the [Mermaid official page][mermaid].
...
@@ -697,7 +700,7 @@ This line is separated from the one above by two newlines, so it will be a *sepa
...
@@ -697,7 +700,7 @@ This line is separated from the one above by two newlines, so it will be a *sepa
This line is also a separate paragraph, but...
This line is also a separate paragraph, but...
This line is only separated by a single newline, so it
*does not break*
and just follows the previous line in the
*same paragraph*
.
This line is only separated by a single newline, so it
*does not break*
and just follows the previous line in the
*same paragraph*
.
This line is also a separate paragraph, and...
This line is also a separate paragraph, and...
This line is
*on its own line*
, because the previous line ends with two spaces. (but still in the
*same paragraph*
)
This line is
*on its own line*
, because the previous line ends with two spaces. (but still in the
*same paragraph*
)
spaces.
spaces.
...
@@ -710,7 +713,7 @@ This line is separated from the one above by two newlines, so it will be a *sepa
...
@@ -710,7 +713,7 @@ This line is separated from the one above by two newlines, so it will be a *sepa
This line is also a separate paragraph, but...
This line is also a separate paragraph, but...
This line is only separated by a single newline, so it *does not break* and just follows the previous line in the *same paragraph*.
This line is only separated by a single newline, so it *does not break* and just follows the previous line in the *same paragraph*.
This line is also a separate paragraph, and...
This line is also a separate paragraph, and...
This line is *on its own line*, because the previous line ends with two spaces. (but still in the *same paragraph*)
This line is *on its own line*, because the previous line ends with two spaces. (but still in the *same paragraph*)
spaces.
spaces.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment