MkDocs plugin for embedding PDFs in a Markdown way
Project description
MkDocs PDF
This plugin allows you to embed PDFs in your documentation using standard Markdown syntax.
Installation
Install the package with pip
pip install mkdocs-pdf
Configuration
# mkdocs.yml
markdown_extensions:
- attr_list
plugins:
- mkdocs-pdf
Usage
To embed a PDF file simple use the following syntax.
![Alt text](<path to pdf>){ type=application/pdf }
Optionally, you can specify style constraints, e.g.
![Alt text](<path to pdf>){ type=application/pdf style="min-height:25vh;width:100%" }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkdocs_pdf-0.1.2.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for mkdocs_pdf-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78bb194400c8753d84570fbe04252e6f9ac1b357a8565f2964f7e8f5689af33 |
|
MD5 | dbc7a8890a06b47a759f57467f4294d2 |
|
BLAKE2b-256 | 82100ad69ac0fc053f62c154a5d48442ec082bb6e41b0f43d0887348ef278217 |