Re:GitHub will natively support Mermaid diagrams
by bussierem on Thursday January 13, 2022 @06:37PM
(#29928578)
I'm very excited about this! I’m looking forward to combining this with ARCHITECTURE.md[0] files to make some kick-ass documentation for our company’s devs for our repo(s).
Re:GitHub will natively support Mermaid diagrams
by adverbly on Thursday January 13, 2022 @06:40PM
(#29928600)
Amazing! Mermaid is great. Happy to see it get more widespread adoption!
This will make it much easier to keep documentation up to date. Much easier to change 1 line than to generate new images and take an updated screenshot or export, especially if you dont have the source file for whatever editor generated the original image.
Re:GitHub will natively support Mermaid diagrams
by anduru_h on Thursday January 13, 2022 @05:48PM
(#29928091)
As someone who just learned what Mermaid is...this is amazing. Great feature add. Does anyone have good recommendations for learning the syntax / alternatives?
Re:GitHub will natively support Mermaid diagrams
by GauntletWizard on Thursday January 13, 2022 @06:53PM
(#29928714)
Mermaid would not be my first choice of diagramming software (that would be plain old Graphviz with PlantUML for more full featured graphs), but I'm glad to see some diagramming support on GitHub natively. There's already quite a few tools that let you embed via hotlink or generated link your graph.
Re:GitHub will natively support Mermaid diagrams
by bob1029 on Thursday January 13, 2022 @06:10PM
(#29928321)
There are so many times I would have used this. At least 20% of my issues could have benefited from an in-line diagram tool.
Being able to quickly draw out complex sequence/state diagrams would make my otherwise dense bricks of narrative descriptions much more palatable for many teammates.
Re:GitHub will natively support Mermaid diagrams
by cebert on Thursday January 13, 2022 @09:51PM
(#29930074)
This is really exciting. My team is trying to move off Confluence in favor of storing more documentation and design artifacts in GitHub. This will help make that more possible.
[0]: https://matklad.github.io/2021/02/06/ARCHITECTURE.md.html
This will make it much easier to keep documentation up to date. Much easier to change 1 line than to generate new images and take an updated screenshot or export, especially if you dont have the source file for whatever editor generated the original image.
https://hn.algolia.com/?q=plantuml previous discussions
https://plantuml.com/
dot/Graphviz
https://en.wikipedia.org/wiki/DOT_(graph_description_languag...
https://en.wikipedia.org/wiki/Graphviz
Can be used in PowerShell:
https://github.com/KevinMarquette/PSGraph
[1] - https://web.archive.org/web/20210509204433/https://about.git...
[1] https://graphviz.org/ [2] https://plantuml.com/
Being able to quickly draw out complex sequence/state diagrams would make my otherwise dense bricks of narrative descriptions much more palatable for many teammates.