Type # for issues and pull requests, > for commands, and ? for help
Type # for issues, pull requests, and projects, > for commands, and ? for help
Type # for issues, pull requests, and projects, / for files, and > for commands
We’ve encountered an error and some results aren't available at this time. Type a new search or try again later.
No results matched your search
Top result
Commands
Type > to filter
Files
Pages
Access Policies
Organizations
Repositories
Issues, pull requests, and discussions
Type # to filter
Teams
Users
Projects
Modes
Use filters in issues, pull requests, discussions, and projects
Search for issues and pull requests#Search for issues, pull requests, discussions, and projects#Search for organizations, repositories, and users@Search for projects!Search for files/Activate command mode>Search your issues, pull requests, and discussions# author:@meSearch your issues, pull requests, and discussions# author:@meFilter to pull requests# is:prFilter to issues# is:issueFilter to discussions# is:discussionFilter to projects# is:projectFilter to open issues, pull requests, and discussions# is:open
Mermaid is an incredibly popular Markdown-inspired syntax used to visualize workflows, software architecture, and abstract concepts in documentation. Support for displaying Mermaid diagrams has appeared on GitHub's top list of feature requests since 2015. In its absence, many developers simply added screenshots to their Markdown. Today, we're excited to add native support for Mermaid wherever Markdown is supported (e.g., issues, repositories, discussions, gists).
Intended Outcome
With this feature, GitHub will support Mermaid diagrams within Markdown fields and files.
How will it work?
Just as language-specific code blocks can be added to Markdown, you'll be able to add a Mermaid diagram using a code block that specifies mermaid as its language identifier. For example:
The Markdown code block above uses Mermaid syntax to display this flowchart in the rendered Markdown:
Another example from the Mermaid website shows how straightforward text can be used to create rich diagrams:
```mermaid
sequenceDiagram
autonumber
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
The Markdown code block above would display this sequence diagram in the rendered Markdown:
Sorry, something went wrong.
github-product-roadmap commented7 days ago
Summary
Mermaid is an incredibly popular Markdown-inspired syntax used to visualize workflows, software architecture, and abstract concepts in documentation. Support for displaying Mermaid diagrams has appeared on GitHub's top list of feature requests since 2015. In its absence, many developers simply added screenshots to their Markdown. Today, we're excited to add native support for Mermaid wherever Markdown is supported (e.g., issues, repositories, discussions, gists).
Intended Outcome
With this feature, GitHub will support Mermaid diagrams within Markdown fields and files.
How will it work?
Just as language-specific code blocks can be added to Markdown, you'll be able to add a Mermaid diagram using a code block that specifies
mermaid
as its language identifier. For example:The Markdown code block above uses Mermaid syntax to display this flowchart in the rendered Markdown:
Another example from the Mermaid website shows how straightforward text can be used to create rich diagrams:
The Markdown code block above would display this sequence diagram in the rendered Markdown:
For more information about Mermaid, visit its website or its open-source repository.
The text was updated successfully, but these errors were encountered: