mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 03:57:31 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,12 +11,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert a file to the specified format (automatically determined from the file extension):
|
||||
|
||||
`mmdc --input {{input.mmd}} --output {{output.svg}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}}`
|
||||
|
||||
- Specify the theme of the chart:
|
||||
|
||||
`mmdc --input {{input.mmd}} --output {{output.svg}} --theme {{forest|dark|neutral|default}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-t|--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}}`
|
||||
`mmdc {{[-i|--input]}} {{input.mmd}} {{[-o|--output]}} {{output.svg}} {{[-b|--backgroundColor]}} {{color}}`
|
||||
|
||||
Reference in New Issue
Block a user