npm install -g @mermaid-js/mermaid-cli
extract_all.sh chapter3 mermaid/chapter3
mac :
./extract_all_3.sh chapter3 mermaid/chapter3
This extracts the mermaid diagrams from the markdown files contained in the chapter3
director and saves them in the mermaid/chapter3
folder.
./generate_mermaid.sh -d mermaid/chapter3 -o diagrams/chapter3