add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -0,0 +1,24 @@
# weasyprint
> 将HTML渲染为PDF或PNG。
> 更多信息:<https://weasyprint.org/>.
- 将HTML文件渲染为PDF
`weasyprint {{path/to/input.html}} {{path/to/output.pdf}}`
- 将HTML文件渲染为PNG包括一个额外的用户样式表
`weasyprint {{path/to/input.html}} {{path/to/output.png}} --stylesheet {{path/to/stylesheet.css}}`
- 渲染时输出额外的调试信息:
`weasyprint {{path/to/input.html}} {{path/to/output.pdf}} --verbose`
- 在输出到PNG时指定自定义分辨率
`weasyprint {{path/to/input.html}} {{path/to/output.png}} --resolution {{300}}`
- 为输入HTML文件中的相对URL指定基URL
`weasyprint {{path/to/input.html}} {{path/to/output.png}} --base-url {{url_or_filename}}`