Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✒️ feat: update readme for example desc #65

Merged
merged 1 commit into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ English | [中文](README.md)
## Screenshot

* Merge Combine the two websites into a PDF file
> 📦 See [Combine Code](__test__/axios-node.js)
> 📦 See [Merge Test 1](__test__/axios-browser.html), [Merge Test 2](__test__/axios-node.js)


![image](https://user-images.githubusercontent.com/19891724/159743021-e1f9f528-d6d9-4d6b-b63f-4e71c6b72bdb.png)
Expand Down Expand Up @@ -127,7 +127,7 @@ curl --location --request POST 'http://localhost:5000/pdf' \

Merge multiple PDF files into one file.

See [Merge Test](__test__/axios-node.js)
See [Merge Test 1](__test__/axios-browser.html), [Merge Test 2](__test__/axios-node.js)


## Routing
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@

## 截图

* 示例:合并两个网站到一个 PDF 文件
> 📦 见代码 [Combine Code](__test__/axios-node.js)
* 示例:合并多个网站到一个 PDF 文件
> 📦 详见 [示例代码1](__test__/axios-browser.html)、[示例代码2](__test__/axios-node.js)


![image](https://user-images.githubusercontent.com/19891724/159743021-e1f9f528-d6d9-4d6b-b63f-4e71c6b72bdb.png)
Expand Down Expand Up @@ -127,7 +127,7 @@ curl --location --request POST 'http://localhost:5000/pdf' \

用于将多个 PDF 文件合并到一个文件

查看 [示例代码](__test__/axios-node.js)
查看 [示例代码1](__test__/axios-browser.html)、[示例代码2](__test__/axios-node.js)


## 路由配置
Expand Down
23 changes: 13 additions & 10 deletions __test__/axios-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@
<body>
<code>
[
<br>
{
url: 'https://github.com/pdsuwwz',
},
<br>
{
url: 'https://vuejs.org/api/',
hasMargin: false
}
<br>
<br>
{
url: 'https://github.com/pdsuwwz',
},
<br>
{
url: 'https://vuejs.org/api/',
},
<br>
{
url: 'https://www.baidu.com/',
},
<br>
]
</code>
<h2>正在爬取👆网站并完成合并pdf的过程,请等待几秒钟,浏览器将自动打开下载窗口</h2>
Expand Down