Hacker News new | ask | show | jobs
Show HN: Slidev and marimo – Interactive Python in Markdown slides (lucharo.github.io)
2 points by lucharo 139 days ago
Demo: https://lucharo.github.io/slidev-marimo/ Repo: https://github.com/lucharo/slidev-marimo

Slidev add-on that embeds Marimo Islands into slides. Cells are just ```marimo code fences in your Markdown. Runs fully client-side via Pyodide/WASM and also host on a static site.

Had to bridge Marimo's React components with Slidev's Vue — the add-on handles the hydration, HMR and state management between the two. Claude + Opus 4.5 helped a lot!

I also have a version on a live kernel mode that connects to a running Marimo session instead of Pyodide so you can work on a notebook and then present your results on a slide directly, it's almost there!

I'd like to think that this is going to be very useful for educators, doing demos of a package, or for ML and data science presentations where you've done some heavy work on a notebook and then you want to present to some stakeholders on some slides — the latter is the use case that I have for it.