dart-lang / dart-lang/pub-dev

Support Mermaid diagrams

Open
#5,763 4 comments 14 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

## Description
GitHub now supports Mermaids, like this:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```

You can more find about this in the official blog article: [Include diagrams in your Markdown files with Mermaid](https://github.blog/2022-02-14-include-diagrams-markdown-files-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

| GitHub | pub.dev |
|-|-|
| ![image](https://user-images.githubusercontent.com/24459435/168659307-9342c688-b895-467c-81f4-942addd77d0e.png) | ![image](https://user-images.githubusercontent.com/24459435/168659232-159cc8fe-d624-4ab1-b610-7116c1e15d0e.png) |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.