A MkDocs plugin for creating slide presentations within documentation
Project description
MkDocs Slides Plugin
A plugin for MkDocs that enables beautiful slide presentations within your documentation.
Installation
pip install mkdocs-slides
Usage
- Add the plugin to your
mkdocs.yml:
plugins:
- slides
- Create a slide deck in your markdown:
```slides
title: My Presentation
url_stub: my-pres
nav:
- slides/presentation/*.md
Configuration
You can customize the plugin behavior in your mkdocs.yml:
plugins:
- slides:
font_size: "28px" # Default font size for slides
template: "layouts/slide_template.html" # Custom slide template
Custom Templates
To use a custom template:
- Create a
layoutsdirectory in your docs root - Copy the default template as a starting point:
mkdir -p layouts
cp $(python -c "import mkdocs_slides; import os; print(os.path.join(os.path.dirname(mkdocs_slides.__file__), 'templates', 'slide_template.html'))") layouts/slide_template.html
- Modify the template to suit your needs
- Reference it in your
mkdocs.yml
For full documentation, visit the plugin documentation.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_slides-0.1.3.tar.gz.
File metadata
- Download URL: mkdocs_slides-0.1.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6859e5ea328dd6fd9d7022c9397a58d914edee65946633d606f5238c9d797ddf
|
|
| MD5 |
5f730659e9a7eb1c5696f6118e5fcba6
|
|
| BLAKE2b-256 |
2e369dbc022a9c9ec1d8798b456d82f77487c20aa171ed5eb5ccebb67adc7295
|
File details
Details for the file mkdocs_slides-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mkdocs_slides-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78e1a3f51ad21e8be92a61f8abfadee832ffd99e6768d05eff2870273c90ae42
|
|
| MD5 |
c90c5bec60c5bebd4bdc07961f5c09c1
|
|
| BLAKE2b-256 |
5a646892a92f65e4a82cee8ceadb795839d150e5bcd1a58f1cc8b6b8306e25c3
|