System Grab Bag

View all TLDR pages from common (or from all pages)

mmdc

CLI for mermaid, a diagram generation tool with a domain-specific language. A mermaid definition file is taken as input and a SVG, PNG, or PDF file is generated as output. More information: https://mermaid-js.github.io/mermaid/.
  • Convert a file to the specified format (automatically determined from the file extension):
    mmdc --input {{input.mmd}} --output {{output.svg}}
  • Specify the theme of the chart:
    mmdc --input {{input.mmd}} --output {{output.svg}} --theme {{forest|dark|neutral|default}}
  • Specify the background color of the chart (e.g. lime, "#D8064F", or transparent):
    mmdc --input {{input.mmd}} --output {{output.svg}} --backgroundColor {{color}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.