quickslides
Convert Markdown files to PDF slides presentations, using typst and typeslides.
Usage
Command Line
# Basic usage
quickslides your_presentation.md
# Specify output typst file
quickslides your_presentation.md --no-compile -o custom_output.typ
As a Library
from quickslides import convert_markdown_to_typst
# Read markdown content
with open("your_presentation.md", "r") as f:
markdown_content = f.read()
# Convert to typst
typst_content = convert_markdown_to_typst(
markdown_content,
title="My Presentation",
subtitle="A great presentation",
author="Your Name",
info="2025-03-29"
)
# Save the output
with open("presentation.typ", "w") as f:
f.write(typst_content)
Markdown Format
- Use front matter to specify presentation metadata
- Use
#(H1) to define sections (will create a section slide with the header text) - Use
##(H2) for content slides
Example:
---
title: My Presentation
subtitle: A subtitle
author: Your Name
date: 2025-03-29
---
# Introduction
This is a section slide.
## First Content Slide
- This is bullet point 1
- This is bullet point 2
## Second Content Slide
**Bold text** and *italic text*
Requirements
- Python 3.12+
- typst
Metadata
Release files for quickslides 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quickslides-0.1.7.tar.gz | 127.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quickslides-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 251.0 kB
Release files / quickslides-0.1.7.tar.gz
| Download URL | quickslides-0.1.7.tar.gz |
|---|---|
| Size | 127.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5943c96c60a6cfd764e2af894c528514e26d0cfe784383808c51bf219314ef77
|
|
BLAKE2b-256 checksum How to use checksums |
ef1e0f9da2873562c69e658d4e067c466349adbb91586788a46770ab5d9cb289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.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.
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 Apr 7, 2025.
Transparency logRelease files / quickslides-0.1.7-py3-none-any.whl
| Download URL | quickslides-0.1.7-py3-none-any.whl |
|---|---|
| Size | 123.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b983778e08b1bfdf28158b4d401fc80673edf839159eca31563c26cb7f16f21
|
|
BLAKE2b-256 checksum How to use checksums |
57b2da2e8e01afe27f28ca0bf273a073abc12705bc05abfa8fd8b3a7efddd37b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.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.
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 Apr 7, 2025.
Transparency log