Skip to main content

mate


mate is a Python application for creating presentations by writing Markdown files. The goal is to build aesthetically pleasing presentations in a short amount of time while staying highly customizable and versatile: the content is plain Markdown, and the details can be tweaked with a short, clean syntax (or at least that's the intention).

The idea behind mate is to create slides fast, in a declarative and programmatic way, and let the template take care of arranging things and giving them their look. Since the content knows nothing about the aesthetics, restyling a whole presentation amounts to switching its template.

Templates get a lot of freedom and tools, and they are constructive: a template can be as small as a background change or as ambitious as a full visual identity, with its own functions and slide designs, and a deck can combine several of them.

Features

  • Slides are written in plain Markdown: # opens a slide, and bold, italics, code and math work as usual.
  • Whatever Markdown cannot express, the extended syntax can: any element of a slide can be created, styled, positioned and aligned.
  • Templates control fonts, colors, backgrounds and slide logic. Use a built-in one, or write your own as a small Python file next to your deck.
  • Slides reveal their content in stages, with a versatile system of pauses, in-place reveals and overwrites.
  • There is a drawing API as well: shapes, Bézier curves, images and gradients can go on a slide alongside the text.
  • mate is fast: everything is heavily cached, so builds stay quick even for large decks.
  • There is nothing else to install: no LaTeX, no external tools. The rendering backend ships inside the package.

Getting started

To get mate, all you need is yerba:

pip install yerba

Write a deck:

# A slide title

Some content with **bold**, _italic_ and inline $x^2$ math.

Words can be styled in place: [this is red][color="red"], and
[this is translucent and smaller][opacity=0.4, fontsize=7].

> pause

- Bullet points work as usual
- and this list appears after the pause.

# Another slide
## With a subtitle

More content.

and build it:

mate slides.md

The PDF lands next to the source, as slides.pdf.

There is also an example deck that goes through most of what mate can do, and its source shows how each slide is written.

See the docs for the full mate syntax, front matter, templates, and the Python API. If you want to write the slides with the help of an LLM, docs/llm.md is (hopefully) all you need to give it.

Backends

The code is built to support different backends. Typst is the only one supported today; new backends will follow once the current one is fully functional and free of known bugs.

License

MIT. The bundled fonts keep their own licenses (SIL OFL 1.1, under fonts/).

Metadata

Release files for yerba 0.4.3

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

Source distribution (sdist)

Source distribution for yerba 0.4.3
File Size Uploaded Provenance
yerba-0.4.3.tar.gz 742.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yerba 0.4.3
File Interpreter ABI Platform
yerba-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / yerba-0.4.3.tar.gz

Download URL yerba-0.4.3.tar.gz
Size 742.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d722e2bf98c03009783d23e9a301ab5b98ffa1c0fa45b1501f330df8f7e002b6
BLAKE2b-256 checksum
How to use checksums
843e1f739e93b5ddcb763db3d4022866b9516a4179e80530713e34a3aa46fc39
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 Sep 23, 2026.

Transparency log

Release files / yerba-0.4.3-py3-none-any.whl

Download URL yerba-0.4.3-py3-none-any.whl
Size 757.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22368bcda8b422518c1947924904a872ff748eceeeb0a488c726d62760f80dd8
BLAKE2b-256 checksum
How to use checksums
2451599a8cc78d7cfc766621a1da9455d55761f00d8967832ccb3db70e9c15b9
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 Sep 23, 2026.

Transparency log

Security for yerba 0.4.3

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 yerba-0.4.3.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 Sep 23, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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