Emacs 31: An unofficial guide to Markdown-ts-mode
- Developer Tools
- Programming
- Open Source
- AI
The post is an unofficial guide to `markdown-ts-mode`, the new built-in Markdown mode in Emacs 31. It explains how to enable it, what “ts” means, and why the mode is interesting at all: it uses tree-sitter for parsing, supports CommonMark and GitHub Flavored Markdown out of the box, and adds quality-of-life features without needing an external package. A small correction came up immediately: in Emacs 31, some people report Markdown files already opening in the new mode automatically, so parts of the opt-in setup may already be obsolete depending on how your install is configured.
If you run Emacs 31, it is worth testing `markdown-ts-mode` now because built-in Markdown support is getting good enough for everyday editing. But if your workflow depends on Org-style metadata, agendas, or structured outlines, treat Markdown as an interchange format, not a drop-in replacement.
-
rahuljuliato.com
- Discuss on HN