CmdID

CmdID / Commands

mmdc

CLI for mermaid, a diagram generation tool with a domain-specific language. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

CLI for mermaid, a diagram generation tool with a domain-specific language. A mermaid definition file is taken as input and an SVG, PNG, or PDF file is generated as output.

Convert a file to the specified format (automatically determined from the file extension)

mmdc --input input.mmd --output output.svgIdentify

Specify the theme of the chart

mmdc --input input.mmd --output output.svg --theme forestIdentify

Specify the background color of the chart (e.g. lime, "#D8064F", or transparent)

mmdc --input input.mmd --output output.svg --backgroundColor colorIdentify