md-mode is an Emacs major mode that provides Org-inspired structural editing for Markdown files with live font-lock styling in the edit view and a read-only rendered view in the same buffer. It requires only Emacs 29.1 or newer and no external Markdown processor for its core in-buffer rendering.
- Tables remain valid Markdown source while being rendered responsively with width-aware column layout, debounced resize relayout, and per-buffer measurement caching
- Optional local integrations render LaTeX math, Mermaid, PlantUML, and Graphviz diagrams asynchronously with no content sent to remote services
- The renderer was adapted from agent-shell-markdown.el by Alvaro Ramirez
An Emacs frontend for the pi coding agent. Compose prompts in a full Emacs buffer, chat history as markdown, live streaming output, and more.