@mermaid-js/mermaid-cli 10.8.0 → 10.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.html +567 -1857
- package/dist-types/src/index.d.ts +6 -1
- package/dist-types/src/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.js +22 -10
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://percy.io/Mermaid/mermaid-cli)
|
|
8
8
|
[](https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE)
|
|
9
9
|
|
|
10
|
-
This is a command-line interface (CLI) for [mermaid](https://mermaid
|
|
10
|
+
This is a command-line interface (CLI) for [mermaid](https://mermaid.js.org/). It takes a mermaid definition file as input and generates an svg/png/pdf file as output.
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
@@ -44,7 +44,7 @@ The `--cssFile` option can be used to inline some custom CSS.
|
|
|
44
44
|
|
|
45
45
|
Please see [./test-positive/flowchart1.css](test-positive/flowchart1.css) for an example of a CSS file that has animations.
|
|
46
46
|
|
|
47
|
-
**Warning**: If you want to override `mermaid`'s [`themeCSS`](https://mermaid
|
|
47
|
+
**Warning**: If you want to override `mermaid`'s [`themeCSS`](https://mermaid.js.org/config/schema-docs/config.html#themecss), we recommend instead adding `{"themeCSS": "..."})` to your mermaid `--configFile`. You may also need to use [`!important`](https://developer.mozilla.org/en-US/docs/Web/CSS/important) to override mermiad's `themeCSS`.
|
|
48
48
|
|
|
49
49
|
**Warning**: Inline CSS files may be blocked by your browser, depending on the [HTTP Content-Security-Policy header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) of the website that hosts your SVG.
|
|
50
50
|
|