diff --git a/README.md b/README.md index 79bc73b..b7d8afc 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ In the following table the list of parameters that can be provided to the `pdf_v | name | description | |-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | input | The source of the PDF file. Accepts a file path, URL, or binary data. | -| width | Width of the PDF viewer in pixels. It defaults to 700 pixels. | +| width | Width of the PDF viewer in pixels. It defaults to 700 pixels. Can set it to string percentage also. For example 90% which will make the pdf render to 90% of the container/window/screen width. If the pdf width is larger than the screen width, it will horizontally scroll. | | height | Height of the PDF viewer in pixels. If not provided, the viewer shows the whole content. | | annotations | A list of annotations to be overlaid on the PDF. Format is described [here](#annotation-format). | | pages_vertical_spacing | The vertical space (in pixels) between each page of the PDF. Defaults to 2 pixels. |