diff --git a/README.md b/README.md index 5bb341916..51fcfbb0b 100755 --- a/README.md +++ b/README.md @@ -128,9 +128,11 @@ npm install -g phantomjs # 启动nodeppt server nodeppt start # 导出文件 -nodeppt pdf http://127.0.0.1:8080/md/demo.md -o a.pdf +nodeppt pdf http://127.0.0.1:8080/md/demo.md a.pdf ``` +phantomjs版本可能较老,推荐在chrome浏览器中使用`ctrl+P`选择另存为pdf + #### html版 diff --git a/README_EN.md b/README_EN.md index 837cd3d16..139fc7c44 100644 --- a/README_EN.md +++ b/README_EN.md @@ -115,7 +115,7 @@ npm install -g phantomjs # start nodeppt server nodeppt start # export file -nodeppt pdf http://127.0.0.1:8080/md/demo.md -o a.pdf +nodeppt pdf http://127.0.0.1:8080/md/demo.md a.pdf ```