-
Notifications
You must be signed in to change notification settings - Fork 147
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
Support Mermaid diagrams #5763
Comments
Yes, this would be nice. It would also be great to have it in dartdoc. I guess we'd have to resolve some security concerns. |
\cc @timmaffett Who has been exploring Mermaid recently and created https://pub.dev/packages/mermaid. Here's an example he prepared using this interop alongside |
I just submitted dart-lang/markdown#433 which takes what I think is a better approach to supporting text diagrams (such as mermaid), and that is the static conversion of the text diagrams to SVG when the documentation html files are generated. This seems more appropriate for dartdoc/pub.dev use than my earlier mermaid.dart package, which interops with mermaid.js on the client to create the diagrams with each viewing. |
Description
GitHub now supports Mermaids, like this:
You can more find about this in the official blog article: Include diagrams in your Markdown files with Mermaid.
Therefore, more and more people will use Mermaid diagrams in their REAMDE.md files. It would be nice if pub.dev could also render Mermaid diagrams like GitHub it can.
Currently, it's not possible as you can see here: https://pub.dev/packages/nils_pub_dev_playground
The text was updated successfully, but these errors were encountered: