Skip to content

Commit

Permalink
feature: added mermaid gitgraph support (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzturc committed Oct 6, 2022
1 parent 057c547 commit 06f9e89
Show file tree
Hide file tree
Showing 4 changed files with 6,435 additions and 6,753 deletions.
22 changes: 21 additions & 1 deletion docs/content/basic-syntax/mermaid.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,26 @@ sequenceDiagram

![Mermaid](https://mszturc.github.io/obsidian-advanced-slides/images/mermaid.png)

```md
---
theme: beige
highlightTheme: css/vs2015.css
---

#### Gitgraph Diagrams support


```mermaid
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
```
```
![Gitgraph](https://mszturc.github.io/obsidian-advanced-slides/images/gitgraph.png)
Binary file added docs/static/images/gitgraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"obsidian": "^0.12.17",
"reveal.js": "^4.2.1",
"reveal.js-menu": "^2.1.0",
"reveal.js-mermaid-plugin": "^0.0.2",
"reveal.js-mermaid-plugin": "^0.0.3",
"reveal.js-plugins": "^4.1.5",
"reveal.js-elapsed-time-bar": "https://github.com/tkrkt/reveal.js-elapsed-time-bar.git",
"sass": "^1.45.1",
Expand All @@ -66,4 +66,4 @@
"request": "^2.88.2",
"yaml-front-matter": "^4.1.1"
}
}
}
Loading

0 comments on commit 06f9e89

Please sign in to comment.