Skip to content

Commit 026dd81

Browse files
authored
Update cli_install.md
1 parent 90f84ad commit 026dd81

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/install/cli_install.md

+9-8
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ pip install -e.
3333
npm install @mermaid-js/mermaid-cli
3434
```
3535

36-
- don't forget to the configuration for mmdc in config.yml
36+
- don't forget to the configuration for mmdc path in config.yml
3737

3838
```yml
39-
puppeteer_config: "./config/puppeteer-config.json"
40-
path: "./node_modules/.bin/mmdc"
39+
mermaid:
40+
puppeteer_config: "./config/puppeteer-config.json"
41+
path: "./node_modules/.bin/mmdc"
4142
```
4243
4344
- if `pip install -e.` fails with error `[Errno 13] Permission denied: '/usr/local/lib/python3.11/dist-packages/test-easy-install-13129.write-test'`, try instead running `pip install -e. --user`
@@ -61,7 +62,7 @@ pip install -e.
6162

6263
- **modify `config2.yaml`**
6364

64-
uncomment mermaid.engine from config2.yaml and change it to `playwright`
65+
change mermaid.engine to `playwright`
6566

6667
```yaml
6768
mermaid:
@@ -91,7 +92,7 @@ pip install -e.
9192

9293
- **modify `config2.yaml`**
9394

94-
uncomment mermaid.engine from config2.yaml and change it to `pyppeteer`
95+
change mermaid.engine to `pyppeteer`
9596

9697
```yaml
9798
mermaid:
@@ -100,13 +101,13 @@ pip install -e.
100101

101102
- mermaid.ink
102103
- **modify `config2.yaml`**
103-
104-
uncomment mermaid.engine from config2.yaml and change it to `ink`
104+
105+
change mermaid.engine to `ink`
105106

106107
```yaml
107108
mermaid:
108109
engine: ink
109110
```
110111

111112
Note: this method does not support pdf export.
112-
113+

0 commit comments

Comments
 (0)