Skip to main content

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

  1. Add the plugin to your mkdocs.yml:
plugins:
  - slides
  1. 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:

  1. Create a layouts directory in your docs root
  2. 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
  1. Modify the template to suit your needs
  2. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_slides-0.1.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_slides-0.1.3-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

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

Hashes for mkdocs_slides-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6859e5ea328dd6fd9d7022c9397a58d914edee65946633d606f5238c9d797ddf
MD5 5f730659e9a7eb1c5696f6118e5fcba6
BLAKE2b-256 2e369dbc022a9c9ec1d8798b456d82f77487c20aa171ed5eb5ccebb67adc7295

See more details on using hashes here.

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

Hashes for mkdocs_slides-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78e1a3f51ad21e8be92a61f8abfadee832ffd99e6768d05eff2870273c90ae42
MD5 c90c5bec60c5bebd4bdc07961f5c09c1
BLAKE2b-256 5a646892a92f65e4a82cee8ceadb795839d150e5bcd1a58f1cc8b6b8306e25c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page