Merge pull request #4 from gakkurorto/fix-pic

Fix width.
pull/1/head
Kslr 2020-07-31 21:31:37 +08:00 committed by GitHub
commit 60a8f09ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,7 @@
```
1. 生成文件
```shell
./node_modules/.bin/mmdc -i how-to-choose-a-v2ray-plan.mmd -o how-to-choose-a-v2ray-plan.png -t forest -w 1920 -H 1080 -p puppeteer-config.json
./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
```
1. 提交 PR

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 256 KiB

3
how-to-choose/style.css Normal file
View File

@ -0,0 +1,3 @@
rect+g foreignObject {
width: 500px;
}