Earlier quoted context omitted.
Indent with 4 spaces at the start of each line for code blocks.
This is annoyingly difficult in a browser.
On macOS:
pbpaste | sed 's/^.*$/ &/' | pbcopy41–50 of 77 posts
I have been thinking about using this for some diagrams, but whats been on the back of my mind since I heard about it is how to combine it with Terraform, or Troposphere, and have your infrastructure as code also draw the diagrams automatically.
I'm really curious. Maybe for doing something programmatically, but GraphViz may be better.
Why is this better than Mermaid? It works in Markdown, you can version control, and Git(Hub|Lab) displays it automatically. I'm really curious. Maybe for doing something programmatically, but GraphViz may be better.
Why is this better than Mermaid? It works in Markdown, you can version control, and Git(Hub|Lab) displays it automatically. I'm really curious. Maybe for doing something programmatically, but GraphViz may be better.
It isn't. Apples and oranges; Mermaid deals with UML-ish type diagrams whereas 'Diagram as Code' is illustrating cloud system architecture.
> but GraphViz may be better
GraphViz is actually doing the rendering. You might want to take a moment and study the site.
So, how well does this compare to graphviz? Seems a heck of a lot more verbose.
...and then people talk about CV-driven development...
Why is this better than Mermaid? It works in Markdown, you can version control, and Git(Hub|Lab) displays it automatically. I'm really curious. Maybe for doing something programmatically, but GraphViz may be better.