Skip to content

lucharo/slidev-marimo

Repository files navigation

slidev-marimo

Slidev addons for embedding interactive Python (marimo) cells in your presentations.

Check the live demo

All cells share state just like in a normal marimo notebook - variables defined in one cell are available in all others.

Quick Start

# Clone and run the example
git clone https://github.com/lucharo/slidev-marimo.git
cd slidev-marimo
npm install
npx slidev islands-example.md

Installation

# npm
npm install @slidev/cli slidev-marimo-islands

# pnpm
pnpm add @slidev/cli slidev-marimo-islands

# bun
bun add @slidev/cli slidev-marimo-islands

# yarn
yarn add @slidev/cli slidev-marimo-islands

Usage

Add to your slidev frontmatter:

---
addons:
  - slidev-marimo-islands
---

Then use marimo code blocks:

```marimo
import marimo as mo
slider = mo.ui.slider(0, 100)
slider
```

Run your presentation:

npx slidev slides.md

For detailed documentation, component props, and limitations, see the slidev-marimo-islands README.

License

MIT

About

Marimo notebook integration for Slidev presentations - monorepo for islands (Pyodide/WASM) and notebook (live kernel) addons

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors