Support gitlab markdown in mermaid markdown
Description
Introduction
First, I want to thank you for the mermaid plugin. Great work
And since there are always improvements in everything, I would have something there
Problem:
If I use the mermaid markdown, I'd like to use the gitlab markdown inside of it.
Use-Case:
I create a diagram to explain to my colleagues the workflow of the code.
Now I would like to link the method calls directly, so that my colleagues can look at the code positions immediately.
1. I create a mermaid markdown, with links to the file and the link name, this here is an example.
mermaid
graph TD;
A-->B["[```function startAction()```](https://gitlab.com/link_to_file#L10)"];
A-->C["[```$service->handleRequest()```](https://gitlab.com/link_to_file#L30)"];
B-->D["[```$service->handleDbSave()```](https://gitlab.com/link_to_file#L60)"];
C-->D["[```$service->handleFinishRequest()```](https://gitlab.com/link_to_file#L80)"];
2. This will results into:
3. If you remove, for example, the outer square brackets
mermaid
graph TD;
A-->B[```function startAction()```](https://gitlab.com/link_to_file#L10);
A-->C[```$service->handleRequest()```](https://gitlab.com/link_to_file#L30);
B-->D[```$service->handleDbSave()```](https://gitlab.com/link_to_file#L60);
C-->D[```$service->handleFinishRequest()```](https://gitlab.com/link_to_file#L80);
4. This will results into:
Goals/Benefits
- I can use gitlab as usual, with the power of mermaid
- The workflow for my colleagues to make decisions on cases go much faster because you do not have to pick the code yourself. Supported by the graphical interface of mermaid.
Proposal
- Support gitlab-markdowns inside of mermaid markdown.
- This is currently not possible, but it would be a really nice feature.
Links / references
https://twitter.com/cbalasankar/status/953856365692243969
Thanks allot
Edited by deleted