magical markdown slides
Rust 100.0%
11 1 0

Clone this repository

https://tangled.org/desertthunder.dev/lantern https://tangled.org/did:plc:xg2vq45muivyy3xwatcehspu/lantern
git@knot.tangled.wizardry.systems:desertthunder.dev/lantern git@knot.tangled.wizardry.systems:did:plc:xg2vq45muivyy3xwatcehspu/lantern

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

slides.rs#

A modern, fast, terminal presentation tool inspired by maaslalani/slides, built with Rust.

Design Principles#

Color as Data: All color use flows through typed wrappers using owo-colors. No ad-hoc ANSI escapes.

Themeable: Multiple built-in color schemes (basic, monokai, dracula, solarized, nord) with automatic light/dark variant detection based on terminal background. Themes can be selected via frontmatter, CLI flags, or environment variables, with optional explicit variant override using :light or :dark suffix.

Reproducible: Everything is reproducible in plain text — decks can render without TUI (using slides print).

Composable: Parser → Model → Renderer are independent modules with tests and traits.

Portable: Runs on any terminal supporting UTF-8; dependencies limited to core crates.

Testing#

This project uses cargo-llvm-cov for coverage

Installation:

# MacOS
brew install cargo-llvm-cov

# Linux
cargo +stable install cargo-llvm-cov --locked

Run tests:

cargo llvm-cov

# Open the browser
cargo llvm-cov --open