生成出 PNG 并覆盖已存在的 how-to-choose-a-v2ray-plan.png 文件
安装 mermaid.cli
# yarn config set puppeteer_download_host https://npm.taobao.org/mirrors
yarn add mermaid.cli
Or use NPM:
# npm config set puppeteer_download_host=https://npm.taobao.org/mirrors
npm install mermaid.cli
生成文件
./node_modules/.bin/mmdc -i how-to-choose-a-v2ray-plan.mmd -o how-to-choose-a-v2ray-plan.png -t forest -C style.css -w 1920 -H 1080 -p puppeteer-config.json
提交 PR