mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-07 21:14:27 +01:00
Add title support using YAML frontmatter
This commit is contained in:
@@ -13,6 +13,9 @@ These kind of diagram are particularly helpful to developers and devops teams to
|
||||
Mermaid can render Git diagrams
|
||||
|
||||
```mermaid-example
|
||||
---
|
||||
title: Example Git diagram
|
||||
---
|
||||
gitGraph
|
||||
commit
|
||||
commit
|
||||
@@ -27,6 +30,9 @@ Mermaid can render Git diagrams
|
||||
```
|
||||
|
||||
```mermaid
|
||||
---
|
||||
title: Example Git diagram
|
||||
---
|
||||
gitGraph
|
||||
commit
|
||||
commit
|
||||
|
||||
Reference in New Issue
Block a user