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
Boxiang Sun
gitlab-ce
Commits
503a861e
Commit
503a861e
authored
May 14, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
May 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use real mermaid for mermaid result
parent
70a4c29d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
doc/user/img/mermaid_diagram_render_gfm.png
doc/user/img/mermaid_diagram_render_gfm.png
+0
-0
doc/user/markdown.md
doc/user/markdown.md
+9
-4
No files found.
doc/user/img/mermaid_diagram_render_gfm.png
deleted
100644 → 0
View file @
70a4c29d
2.15 KB
doc/user/markdown.md
View file @
503a861e
...
@@ -480,7 +480,7 @@ GitLab 10.3.
...
@@ -480,7 +480,7 @@ 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]
(https://mermaidjs.github.io/)
.
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.
...
@@ -496,9 +496,15 @@ Example:
...
@@ -496,9 +496,15 @@ Example:
Becomes:
Becomes:
<img src="./img/mermaid_diagram_render_gfm.png" width="200px" height="400px">
```
mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
For details see the [Mermaid official page]
[mermaid]
.
For details see the [Mermaid official page]
(https://mermaidjs.github.io/)
.
### Front matter
### Front matter
...
@@ -1072,7 +1078,6 @@ A link starting with a `/` is relative to the wiki root.
...
@@ -1072,7 +1078,6 @@ A link starting with a `/` is relative to the wiki root.
[^2]: This is my awesome footnote.
[^2]: This is my awesome footnote.
[markdown.md]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/markdown.md
[markdown.md]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/markdown.md
[mermaid]: https://mermaidjs.github.io/ "Mermaid website"
[rouge]: http://rouge.jneen.net/ "Rouge website"
[rouge]: http://rouge.jneen.net/ "Rouge website"
[redcarpet]: https://github.com/vmg/redcarpet "Redcarpet website"
[redcarpet]: https://github.com/vmg/redcarpet "Redcarpet website"
[katex]: https://github.com/Khan/KaTeX "KaTeX website"
[katex]: https://github.com/Khan/KaTeX "KaTeX website"
...
...
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