diff --git a/docs/install/cli_install.md b/docs/install/cli_install.md index 33d759758..ab360fad2 100644 --- a/docs/install/cli_install.md +++ b/docs/install/cli_install.md @@ -33,11 +33,12 @@ # Step 3: Clone the repository to your local machine, and install it. npm install @mermaid-js/mermaid-cli ``` -- don't forget to the configuration for mmdc in config.yml +- don't forget to the configuration for mmdc path in config.yml ```yml - puppeteer_config: "./config/puppeteer-config.json" - path: "./node_modules/.bin/mmdc" + mermaid: + puppeteer_config: "./config/puppeteer-config.json" + path: "./node_modules/.bin/mmdc" ``` - 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 @@ # Step 3: Clone the repository to your local machine, and install it. - **modify `config2.yaml`** - uncomment mermaid.engine from config2.yaml and change it to `playwright` + change mermaid.engine to `playwright` ```yaml mermaid: @@ -91,7 +92,7 @@ # Step 3: Clone the repository to your local machine, and install it. - **modify `config2.yaml`** - uncomment mermaid.engine from config2.yaml and change it to `pyppeteer` + change mermaid.engine to `pyppeteer` ```yaml mermaid: @@ -100,8 +101,8 @@ # Step 3: Clone the repository to your local machine, and install it. - mermaid.ink - **modify `config2.yaml`** - - uncomment mermaid.engine from config2.yaml and change it to `ink` + + change mermaid.engine to `ink` ```yaml mermaid: @@ -109,4 +110,4 @@ # Step 3: Clone the repository to your local machine, and install it. ``` Note: this method does not support pdf export. - \ No newline at end of file +