Skip to main content

jupyter-mkslides

An nbconvert custom exporter that converts Jupyter Notebooks (.ipynb) into Markdown for mkslides.

Installation

pip install jupyter-mkslides

Usage

jupyter nbconvert --to mkslides presentation.ipynb

This generates presentation.md along with presentation_files/, which contains the extracted image outputs. The generated Markdown can be fed directly to mkslides.

mkslides build presentation.md
# or
mkslides serve presentation.md

Cell metadata handling

Each cell is converted according to its metadata.slideshow.slide_type (set via the Slideshow toolbar in Jupyter):

slide_type Result
slide --- inserted before the cell (new slide)
subslide Same as slide (---) by default; optionally -v- (see below)
fragment Appended to the previous slide
notes Prefixed with Note: and turned into speaker notes of the previous slide
skip Omitted from the output
unset / - --- inserted so that each cell becomes its own slide

Turning subslides into vertical slides

The default mkslides (reveal.js) configuration has no vertical slide separator, so subslide cells are output as regular slide breaks (---) by default. To use vertical slides, pass the option at conversion time:

jupyter nbconvert --to mkslides --MkSlidesExporter.subslide_as_vertical=True presentation.ipynb

and enable the vertical separator in your mkslides.yml:

slides:
  separator_vertical: '^\s*-v-\s*$'

Image outputs of code cells (image/png, etc.) are saved to {notebook name}_files/ by nbconvert's standard ExtractOutputPreprocessor and linked as ![png](...).


日本語版は README_ja.md を参照してください。

Release files for jupyter-mkslides 0.1.1

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

Source distribution (sdist)

Source distribution for jupyter-mkslides 0.1.1
File Size Uploaded
jupyter_mkslides-0.1.1.tar.gz 128.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jupyter-mkslides 0.1.1
File Interpreter ABI Platform
jupyter_mkslides-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 133.5 kB

Release files / jupyter_mkslides-0.1.1.tar.gz

Download URL jupyter_mkslides-0.1.1.tar.gz
Size 128.3 kB
Tags Source
SHA-256 checksum
How to use checksums
77bf5b69f41c8d2cc03f40980530719a537cabf18b5692445b2159b58d13c46d
BLAKE2b-256 checksum
How to use checksums
a19e6d7ea61e0e226cb5171e34411d2c661bce481c9d59c879cc1d364b409271
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 Aug 24, 2026.

Transparency log

Release files / jupyter_mkslides-0.1.1-py3-none-any.whl

Download URL jupyter_mkslides-0.1.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a10708ecdbcb4cbba82a67e966e7eabad3ffb1cc29081b7b3d65d190e2a69c1
BLAKE2b-256 checksum
How to use checksums
22d47efde0e70ed53b59b32666ab769c81b6b2bd57f8da871d036d99812df464
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 Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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