Skip to main content

mate

Example deck  ·  Docs  ·  LLM docs

pip install yerba License: MIT


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).

That clean syntax also makes it easy to write slides with an LLM. A deck is a single text file with very little syntax, and a model can write a decent first version from your notes. From there you can keep working on it by hand or ask the model for changes.

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, the LLM docs are (hopefully) all you need to give it. An agent with a terminal can read them on its own with mate --llm-docs.

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.6

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.6
File Size Uploaded Provenance
yerba-0.4.6.tar.gz 781.0 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / yerba-0.4.6.tar.gz

Download URL yerba-0.4.6.tar.gz
Size 781.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93b1adec627c1e602677842d2fef90170bffdbd2a48429b51e3d3ee8cfb91c57
BLAKE2b-256 checksum
How to use checksums
c6e5aebc6ab17cf0116fd9d71aa96ac9bb81f050a7a6b76f25ddfef438c9facd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

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

Download URL yerba-0.4.6-py3-none-any.whl
Size 798.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0622e07637f19b101abbf008837a18f448f993df7d79645cfc1920234409ae4
BLAKE2b-256 checksum
How to use checksums
9d0f7899fd6e84ae3fae3203904acd807ff1ab7bde3634bfea3662adb466a923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Security for yerba 0.4.6

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.6.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 24, 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