diff --git a/build/docs/content/02-html.md b/build/docs/content/02-html.md index dccac115..f56c0a55 100644 --- a/build/docs/content/02-html.md +++ b/build/docs/content/02-html.md @@ -33,7 +33,7 @@ $ curl --request POST \ --url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ --form files=@index.html \ - > result.pdf + -o result.pdf ``` ### Go @@ -107,7 +107,7 @@ $ curl --request POST \ --form files=@index.html \ --form files=@header.html \ --form files=@footer.html \ - > result.pdf + -o result.pdf ``` ### Go @@ -197,7 +197,7 @@ $ curl --request POST \ --form files=@style.css \ --form files=@img.png \ --form files=@font.woff \ - > result.pdf + -o result.pdf ``` ### Go @@ -261,7 +261,7 @@ $ curl --request POST \ --form marginLeft=0 \ --form marginRight=0 \ --form landscape=true \ - > result.pdf + -o result.pdf ``` ### Go diff --git a/build/docs/content/03-markdown.md b/build/docs/content/03-markdown.md index 545ec3df..278f29df 100644 --- a/build/docs/content/03-markdown.md +++ b/build/docs/content/03-markdown.md @@ -36,7 +36,7 @@ $ curl --request POST \ --header 'Content-Type: multipart/form-data' \ --form files=@index.html \ --form files=@file.md \ - > result.pdf + -o result.pdf ``` ### Go diff --git a/build/docs/content/04-office.md b/build/docs/content/04-office.md index d7e52c55..55b26857 100644 --- a/build/docs/content/04-office.md +++ b/build/docs/content/04-office.md @@ -36,7 +36,7 @@ $ curl --request POST \ --header 'Content-Type: multipart/form-data' \ --form files=@document.docx \ --form files=@document2.docx \ - > result.pdf + -o result.pdf ``` ### Go @@ -88,7 +88,7 @@ $ curl --request POST \ --form paperWidth=8.27 \ --form paperHeight=11.27 \ --form landscape=true \ - > result.pdf + -o result.pdf ``` ### Go diff --git a/build/docs/content/05-merge.md b/build/docs/content/05-merge.md index 6ecc5ddb..f825854a 100644 --- a/build/docs/content/05-merge.md +++ b/build/docs/content/05-merge.md @@ -19,7 +19,7 @@ $ curl --request POST \ --header 'Content-Type: multipart/form-data' \ --form files=@file.pdf \ --form files=@file2.pdf \ - > result.pdf + -o result.pdf ``` ### Go diff --git a/docs/index.html b/docs/index.html index f45bac16..037f2ef4 100755 --- a/docs/index.html +++ b/docs/index.html @@ -176,7 +176,7 @@ which will be converted to PDF.
--url http://localhost:3000/convert/html \ --header 'Content-Type: multipart/form-data' \ --form files=@index.html \ - > result.pdf + -o result.pdffooter.html CSS properties override the ones from heade
--form files=@index.html \
--form files=@header.html \
--form files=@footer.html \
- > result.pdf
+ -o result.pdf
@@ -353,7 +353,7 @@ see to the fonts section.
--form files=@style.css \
--form files=@img.png \
--form files=@font.woff \
- > result.pdf
+ -o result.pdf
@@ -424,7 +424,7 @@ Also, you have to set both paperWidth and paperHeight.
--form marginLeft=0 \
--form marginRight=0 \
--form landscape=true \
- > result.pdf
+ -o result.pdf
@@ -505,7 +505,7 @@ in the file index.html. This function will convert a given markdown
--header 'Content-Type: multipart/form-data' \
--form files=@index.html \
--form files=@file.md \
- > result.pdf
+ -o result.pdf
@@ -587,7 +587,7 @@ See the scalability section to find how to mitigate t
--header 'Content-Type: multipart/form-data' \
--form files=@document.docx \
--form files=@document2.docx \
- > result.pdf
+ -o result.pdf
@@ -646,7 +646,7 @@ Also, you have to set both paperWidth and paperHeight.
--form paperWidth=8.27 \
--form paperHeight=11.27 \
--form landscape=true \
- > result.pdf
+ -o result.pdf
@@ -723,7 +723,7 @@ will merge them and return the resulting PDF file.
--header 'Content-Type: multipart/form-data' \
--form files=@file.pdf \
--form files=@file2.pdf \
- > result.pdf
+ -o result.pdf