Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid support #191

Closed
PaddiM8 opened this issue Jan 23, 2021 · 5 comments
Closed

Mermaid support #191

PaddiM8 opened this issue Jan 23, 2021 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@PaddiM8
Copy link

PaddiM8 commented Jan 23, 2021

Taken from the website:

Mermaid lets you represent diagrams using text and code. This simplifies maintaining complex diagrams. It is a Javascript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically. The main purpose of Mermaid is to help Documentation catch up with Development.

I think this would be a great feature to have in marp, any thoughts? Using this in markdown is already possible in for example Joplin. It would fit really well here, since you can do things like this:

as easily as this:

pie title Pets adopted by volunteers
    "Dogs" : 386
    "Cats" : 85
    "Rats" : 15
@PaddiM8
Copy link
Author

PaddiM8 commented Jan 23, 2021

Nvm, an issue exists in marp-core

@PaddiM8 PaddiM8 closed this as completed Jan 23, 2021
@yhatt
Copy link
Member

yhatt commented Jan 23, 2021

Duplicate of marp-team/marp-core#139.

@yhatt yhatt added the duplicate This issue or pull request already exists label Jan 23, 2021
@yhatt
Copy link
Member

yhatt commented Jan 23, 2021

We have many workarounds:

@PHHENS
Copy link

PHHENS commented Sep 15, 2021

Dear Marp Next Developper,
It would be helpful to support mermaid directly in" Marp for vscode" simply with

 ...
Loading

Same thing for svgbob.
This combination could give very efficient graphical support directly into marp.
Thanks a lot

@yhatt
Copy link
Member

yhatt commented Sep 15, 2021

@PHHENS Please read yhatt/marp#125 (comment): There are some technically problems for real-time preview support to mermaid.js and Marp team has given up it. Marp ecosystem has a useful plugin system and we leave mermaid.js support to Marp developer community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants