u/LionyxML

▲ 80 r/emacs

The Most Emacs Bzr Saga

This is NOT my post.

I'm sharing it with the author's (thanosapollo) permission, though.

For those who aren't familiar with his work, he's the author of bibliotheca, emacs-forgejo, gnosis, jabber.el, and yeetube, as well as many other contributions to Emacs.

I hope you find this post as fun and educational to read as I did.

thanosapollo.org
u/LionyxML — 1 day ago
▲ 162 r/emacs

What started as an external Tree-sitter Markdown package evolved into a much broader rewrite and was merged into Emacs, developed by me together with Stéphane Marks.

This goes far beyond syntax highlighting for Markdown, which was the main focus of the previous version.

The built-in markdown-ts-mode now includes:

  • proper Tree-sitter-powered parsing and fontification
  • improved editing experience (smarter navigation, structure-aware editing, and better element handling)
  • raw/editing and hidden/view-style markup rendering
  • table support and improved table editing
  • export helpers and export-related improvements
  • inline image display support
  • better handling of nested structures (lists, blockquotes, fenced blocks, fenced directives, etc.)
  • more robust code block handling and font-lock behavior
  • better integration with Emacs internals
  • many bug fixes, edge-case fixes, and behavioral consistency improvements

…and much more.

If you're on Emacs master and use Markdown regularly (notes, blogs, docs, READMEs, knowledge bases, etc.), please help us pretest markdown-ts-mode and share feedback.

Run:

M-x markdown-ts-mode

Bug reports for the built-in version:

M-x report-emacs-bug

As a side note, my original MELPA package is now deprecated, as its successor now ships built-in with Emacs 31. It remains available only for Emacs 29 and 30 users.

Experimental/lab repo (discussion, experiments, future ideas):
https://github.com/LionyxML/markdown-ts-mode-lab

Huge thanks to Stéphane Marks for all the contributions, reviews, and patience throughout this process.

And thanks to Eli, Yuan, Juri, and everyone else involved in reviewing patches, discussing implementation details, and helping improve this along the way.

u/LionyxML — 7 days ago