mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 16:42:15 +01:00
18 lines
533 B
YAML
18 lines
533 B
YAML
port: 3000
|
|
logs:
|
|
level: "DEBUG"
|
|
format: "text"
|
|
commands:
|
|
markdown:
|
|
timeout: 30
|
|
template: "markdown-pdf {{ .FilePath }} -o {{ .ResultFilePath }}"
|
|
html:
|
|
timeout: 30
|
|
template: "xvfb-run -e /dev/stdout wkhtmltopdf {{ .FilePath }} {{ .ResultFilePath }}"
|
|
office:
|
|
timeout: 30
|
|
template: "unoconv --format pdf --output \"{{ ResultFilePath }}\" \"{{ .FilePath }}\""
|
|
merge:
|
|
timeout: 30
|
|
template: "pdftk {{ range $filePath := .FilesPaths }} {{ $filePath }} {{ end }} cat output {{ .ResultFilePath }}"
|