Skip to content
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

Feature Request: Updated Mermaid to render Gitgraph diagrams #1838

Open
fourpastmidnight opened this issue Oct 26, 2023 · 0 comments
Open

Feature Request: Updated Mermaid to render Gitgraph diagrams #1838

fourpastmidnight opened this issue Oct 26, 2023 · 0 comments

Comments

@fourpastmidnight
Copy link

More recent versions of Mermaid (v10.6.0) enable one to create git commit graph diagrams. I love using mermaid diagrams in my markdown files and I'm delighted that StackEdit supports rendering of many of the mermaid diagrams that I have made. However, today, I went to look at the documentation for mermaid to determine how to best display a git commit tree, and lo and behold, they have a specific graph type for it: gitGraph. However, upon entering in a very small amount of syntax for rendering a git tree graph, no diagram is being rendered in SlackEdit. Apparently, GitHub doesn't support this diagram type either, but I would imagine that using an up-to-date version of Mermaid would resolve the issue—both for StackEdit and GitHub. 😉

gitGraph:
  commit id: 012abc
  commit id: 653bf2
  branch develop
  commit id: 86ab3c
  checkout main
  merge develop
  commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant