Emacs 31: An unofficial guide to Markdown-ts-mode
RahulMJ
170 points
68 comments
August 27, 2026
Related Discussions
Found 5 related stories in 56.3ms across 4,692 title embeddings via pgvector HNSW
- What's new in Emacs 31.1 geospeck · 83 pts · August 24, 2026 · 58% similar
- Emacs 31.1 will release on 8/24 birdculture · 83 pts · August 21, 2026 · 53% similar
- Emacs 31.1 RC1 is available untilted · 13 pts · August 17, 2026 · 52% similar
- Show HN: Write.md – A free, open-source, themeable Markdown editor for macOS danielbilekq · 89 pts · August 11, 2026 · 51% similar
- Show HN: My Emacs Zero to IDE Journey KallDrexx · 12 pts · August 24, 2026 · 51% similar
Discussion Highlights (8 comments)
pjdesno
For those of us who have just been using Emacs, rather than following its recent evolution, "ts-mode" refers to a mode which uses tree-sitter for parsing, highlighting etc.
edgyquant
What are people’s workflows for using eMacs with generative coding? I’m trying to get a workflow where I can generate code and approve it like a PR (maybe leave comments for a next round of generation) but I’m new to eMacs and the ai coding package isn’t working with the latest eMacs
taude
One of the biggest reason I've stopped using Emacs, and I was a pretty heavy user before was that org-mode files weren't fully native Markdown files, which caused annoying friction when collaborating with others. It would be interesting for me to have a new markdown-centric org-mode thing. I'd love to vibe lisp to customize my workflows, and I don't totally love Obsidian, which is what I've setup and configured now. I'd prefer to just have the config living in/around init.el/config.el (I used DoomEmacs most recently). I realize that org/agenda, etc does a ton more than markdown offers, but most of my flow is just around: raw notes to be consumed, check lists, due dates on items, and other "basics" of org-mode. Any recent Emacsers have similar workflows that are tgenible these days? I'd love to get Emacs back in use in my new antigenic Tmux-centric coding flows, and have it be a first class markdown editor, organizaer, and potentially collaboration.....
RahulMJ
A bit of extra info: - `ts` stands for "tree-sitter", meaning this mode uses tree-sitter under the hood, which is, among other things, very performant. - There's support for the CommonMark spec and GFM, so things like `- [ ]` checkboxes and ~~strikethrough~~ work out of the box, along with many other small QoL features. - This mode is BUILT-IN, so no extra packages are needed. - This is currently in the experimental phase, so users need to "opt in" and load the mode to play with it, hence the first part of the guide.
seamossfet
just switched to doom emacs this month, absolutely loving it tbh
cpach
“You probably heard of this new markdown-ts-mode and decided to check it out.” Uhm, no, I haven’t. Why should I care if the Markdown mode uses Treesitter or not…? Does it affect the performance or UX somehow?
ggm
So I can get bold at a cost of shift* to get the star. Or I can do ESC enable-this-mode-option and then press a single key. I'm struggling with this. If it's cheaper in keystrokes to type the codes inline why enable the mode? This isn't a vi vs emacs hate thing, It's a key count efficiency thing. I don't see the motivation even if translated to minimum prefix TAB complete terms. Its like 20x more presses.
rjprins
I still use my markdown-modern, and obsidian-style renderer. I read more markdown than I write and for that it works well. https://github.com/rjprins/markdown-modern