Fancybox markdown extension
This markdown extension creates fancybox images.
Markdown
!
HTML
<figure>
<a data-caption="Description" data-fancybox="gallery" href="image.png">
<img alt="Title" src="image.png" title="Title" width="600px" />
</a>
<figcaption>
Description
</figcaption>
</figure>
Using it with mkdocs
Enable it in mkdocs.yml
markdown_extensions:
- fancyboxmd
Enable fancybox in mkdocs.yml
# Css
extra_css:
- https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css
# Extra javascript
extra_javascript:
- https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js
- https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js
Configuration
It supports one configuration option preview_width which defaults to 600px.
Metadata
Release files for fancyboxmd 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fancyboxmd-1.1.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fancyboxmd-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / fancyboxmd-1.1.0.tar.gz
| Download URL | fancyboxmd-1.1.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9a7cb401bce8ad63fb46da29abd3c1cff5948d9af87c461b95dd9760891d450
|
|
BLAKE2b-256 checksum How to use checksums |
999350cefeb483f87f695fcf15a195438779599ea69375f1ab12ec1f6d0c4b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / fancyboxmd-1.1.0-py3-none-any.whl
| Download URL | fancyboxmd-1.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04577b7b6741be944e502a5721bd858c56635c639978c0a7de58c98b0556f52e
|
|
BLAKE2b-256 checksum How to use checksums |
2c35e0dd45bdcd3e5b898e94dc0c344d33dcba1a6d0530806e3a80c0a6141dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|