
Leandro Pereira on MDEx
From Elixir Mentor by Jacob Luetzow
March 14, 2026 · 1h 36m · Season 1 · Episode 77
About this episode
Leandro Pereira discusses his Rust-powered Markdown library MDEx and its implications for Elixir developers.
Leandro Pereira is back on the Elixir Mentor Podcast — this time to dive deep into MDEx, his Rust-powered Markdown library for Elixir. MDEx is built on the Comrak Rust crate, runs 31x faster, and uses 3,500x less memory than existing Elixir alternatives. We also get into Lumis, his standalone syntax highlighting engine powered by tree-sitter and Neovim themes. Leandro walks through why he chose a Rust NIF over a pure Elixir implementation, what it took to ship Lumis as its own project, and the surprisingly hard technical challenge at the heart of MDEx: streaming Markdown for AI applications. We discuss how MDEx handles incomplete Markdown fragments in real time, what the upcoming Components feature unlocks for Phoenix/LiveView developers, and how the HEEx parser integration works under the hood. We also cover the human side of maintaining two solo open source projects: how Leandro prioritizes, uses AI to chip away at the backlog, and thinks about monetization. The conversation goes deeper into how the AI era has changed Markdown's role in the ecosystem, the pitfalls of vibe coding, and what it really takes to get an open source project noticed — including the uncomfortable truth…
People in this episode
Host: Jacob Luetzow
Guest: Leandro Pereira
Topics covered
- Markdown library
- Rust integration
- Open source projects
- AI applications
- Developer growth
- Functional programming
Keywords
- MDEx
- Lumis
- Rust
- Markdown
- Elixir
- AI
- open source
- developer growth
- functional programming
Mentioned in this episode
Organizations: Rust, Elixir, Phoenix, LiveView, tree-sitter, Neovim
Products: MDEx, Lumis
More episodes of Elixir Mentor
- Tjaco Oostdijk on Drums to Elixir · June 7, 2026 · 1h 31m
- Peter Ullrich on Hunting CVEs · May 30, 2026 · 1h 50m
- Jason Allum on Bedrock · May 24, 2026 · 1h 35m
- Michael Lubas on AI, Attack, and Defense · May 16, 2026 · 1h 32m
- Vasilis Spilka on LLMs & Ash · April 21, 2026 · 1h 37m
- Luca Corti on Bringing Elixir to Fintech · April 12, 2026 · 1h 40m
Explore listener stats, chart rankings, contacts and more on the Elixir Mentor podcast page.