This plugin makes use of the panzoom (LICENCE) library by Andrei Kashcha
pip install mkdocs-panzoom-plugin
Add it to your mkdocs.yml
:
plugins:
- search
- panzoom
Warning
Make sure to define the site_url
otherwise it won't work!
Example:
site_url: https://playg0n.github.io/mkdocs-panzoom/
Examples and usage are available in the docs.
This enables panzoom on mermaid diagrams.
plugins:
- panzoom:
mermaid: true # default true
This enables panzoom on images.
plugins:
- panzoom:
images: true # default true
plugins:
- panzoom:
exclude:
- Path/to/page.md
Warning
This is still in development!
plugins:
- panzoom:
full_screen: True # default False
The structure and some parts are from the enumerate-headings-plugin (LICENCE)