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

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.5
File Size Uploaded Provenance
yerba-0.4.5.tar.gz 778.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / yerba-0.4.5.tar.gz

Download URL yerba-0.4.5.tar.gz
Size 778.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d4286969d56d29a8e12113c5cbb81a5bf266bd2990ba35de5d6a1a1e81e4678a
BLAKE2b-256 checksum
How to use checksums
9d603b3e187445d1e01304d351cd08fe21f2c338cdf2a27513041d3b82984106
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 16, 2026.

Transparency log

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

Download URL yerba-0.4.5-py3-none-any.whl
Size 796.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
674b791279e832a7bfe8ce250d501e5f31cbaa001f3a0d892aa1f0d0f587abd4
BLAKE2b-256 checksum
How to use checksums
862f1214a569312016a44e1b0f10dd69073a436be8307d118d88816021022462
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 16, 2026.

Transparency log

Security for yerba 0.4.5

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.5.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 16, 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