This plugin allows you to embed PDFs in your documentation using standard Markdown syntax.
Install the package with pip
pip install mkdocs-pdf
# mkdocs.yml
markdown_extensions:
- attr_list
plugins:
- mkdocs-pdfTo embed a PDF file simple use the following syntax.
{ type=application/pdf }Optionally, you can specify style constraints, e.g.
{ type=application/pdf style="min-height:25vh;width:100%" }You can also add options to the PDF file, e.g.
{ type=application/pdf }Here the confirmed working options:
page=N |
Jump to Page N. |
navpanes=0 |
Hides the leftside navigation. |
toolbar=0 |
Hides the top toolbar. |
scrollbar=0 |
Hide the right side scrollbar |
For more options, see this document provided by Adobe: Link