Skip to main content

Zensical Slides

A Zensical and MkDocs plugin that provides a focus-slide widget, see live-example.

Publish to PyPI Documentation

Instant Slide Deck · Automatic Sectioning · Progression Bar · URL Sync & Reload Persistence · Keyboard Controls · Mermaid Diagrams · Multilingual

Purpose

To avoid creating slides in a separate presentation software, this plugin provides a focus-slide widget that allows you to create slides directly in your project documentation.

Zensical Slides

Installation

Because Zensical does not provide an official public plugin API module system yet, linking minified assets directly via CDN is the quickest method. No package installation is needed.

Add the assets to zensical.toml (or mkdocs.yml):

Latest version:

[project]
extra_css = [
	"https://cdn.jsdelivr.net/gh/BeyondMagic/zensical-slides@latest/dist/zensical-slides.min.css",
]
extra_javascript = [
	"https://cdn.jsdelivr.net/gh/BeyondMagic/zensical-slides@latest/dist/zensical-slides.min.mjs",
]

Versioned (pinned):

[project]
extra_css = [
	"https://cdn.jsdelivr.net/gh/BeyondMagic/zensical-slides@1.0.9/dist/zensical-slides.min.css",
]
extra_javascript = [
	"https://cdn.jsdelivr.net/gh/BeyondMagic/zensical-slides@1.0.9/dist/zensical-slides.min.mjs",
]

Option 2: Markdown Extension (MkDocs and Zensical)

Install the Python package:

pip install zensical-slides

Enable zensical_slides in your markdown extensions. This works in both standard MkDocs and Zensical, inlining bundled assets directly with full offline support.

In zensical.toml:

[project.markdown_extensions.zensical_slides]
progress_bar = "top"  # "top" (default), "bottom", or "none"
language = "en"       # "en" (default), "ja", or "pt"
assets = "local"      # "local" (default, bundled offline), "cdn", or "none"

In mkdocs.yml:

markdown_extensions:
  - zensical_slides:
      progress_bar: top
      language: en
      assets: local

Option 3: Local CLI Installer (zensical-slides install)

This method copies assets into your project's docs_dir and configures them in zensical.toml. It is provided now for compatibility and ahead of future official Zensical module API support.

pip install zensical-slides
zensical-slides install

The command copies logic.mjs and ui.css into <docs_dir>/assets/plugin/zensical-slides/ and adds them to zensical.toml:

[project]
extra_css = [
	"assets/plugin/zensical-slides/ui.css",
]
extra_javascript = [
	"assets/plugin/zensical-slides/logic.mjs",
]

When using Option 3, re-run zensical-slides install whenever you change settings in [project.theme] or [project.extra.slides].

Configuration

Depending on your installation method:

  • Option 1 (Direct URL): Configure the language via [project.theme] (language = "en") or HTML document lang attributes.
  • Option 2 (Markdown Extension): Configure settings directly in [project.markdown_extensions.zensical_slides] (or markdown_extensions in mkdocs.yml).
  • Option 3 (CLI Installer): Configure settings in [project.theme] and [project.extra.slides]:
[project.theme]
language = "en" # "en" (English), "ja" (Japanese), or "pt" (Portuguese)

[project.extra.slides]
progress_bar = "top" # "top" (default), "bottom", or "none"

License

This project is licensed under LGPLv3.

Metadata

Release files for zensical-slides 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zensical-slides 1.0.9
File Size Uploaded Provenance
zensical_slides-1.0.9.tar.gz 48.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zensical-slides 1.0.9
File Interpreter ABI Platform
zensical_slides-1.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 105.5 kB

Release files / zensical_slides-1.0.9.tar.gz

Download URL zensical_slides-1.0.9.tar.gz
Size 48.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ac3e4b284f83752c92ac43cb5f9899cff52060c4965741d931dad348a9241504
BLAKE2b-256 checksum
How to use checksums
a343d4e3c43147e16681e4b6ecbe1db1a49f1a72972b6b84c8b4eb58be65e924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / zensical_slides-1.0.9-py3-none-any.whl

Download URL zensical_slides-1.0.9-py3-none-any.whl
Size 56.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb7876fadf803733a0d5fd11401276b90c26e845d7f994b4f1960a970e3ae7e1
BLAKE2b-256 checksum
How to use checksums
b39b70517f6745496795437b497f0639a5a64d0fd1d89730b22299ae895898c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for zensical-slides 1.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zensical_slides-1.0.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page