Sign inSign up

pheese/mermaid-cli

By pheese

•Updated almost 2 years ago

Mermaid lets you create diagrams and visualizations using text and code.

Image
0

141

pheese/mermaid-cli repository overview

⁠Mermaid⁠ Container

Official Web page about Mermaid can be found here⁠ .

Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. The main purpose of Mermaid is to help documentation catch up with development.

Diagramming and documentation costs precious developer time and gets outdated quickly. But not having diagrams or docs ruins productivity and hurts organisational learning. Mermaid addresses this problem by enabling users to create easily modifiable diagrams, it can also be made part of production scripts (and other pieces of code).

Mermaid allows even non-programmers to easily create detailed and diagrams through the Mermaid Live Editor⁠. Tutorials has video tutorials. Use Mermaid with your favorite applications, check out the list of Integrations and Usages of Mermaid⁠.

⁠Sources Container

⁠Generate and run a mermaid-cli.

  1. Fork & then clone the git repository Mermaid-Cli⁠ on your computer.

  2. Pull the docker container

   docker pull docker.io/pheese/mermaid-cli:amd64
  1. Run the docker container.
   docker run -it --rm --name mermaid-cli -v {Cloned Repo mermaid-cli}/test-positive:/data docker.io/pheese/mermaid-cli:amd64 -i state1.mmd -o state.svg -t transparent

This generates a file state.svg (Graphic representation) based on the instructions in state1.mmd.

Tag summary

Content type

Image

Digest

sha256:8fc1c9d2b…

Size

524.5 MB

Last updated

almost 2 years ago

docker pull pheese/mermaid-cli:amd64