Skip to content

markdown-modern 2.0.0

Choose a tag to compare

@rjprins rjprins released this 09 Oct 09:06
· 24 commits to main since this release

This release requires Tree-sitter. After upgrading, run M-x markdown-modern-install-grammars once and remove any markdown-modern-ts--use-tree-sitter setting from your init file.

  • Require Tree-sitter for editing and rendering. The regex fallback is gone.
  • Add M-x markdown-modern-install-grammars. It builds version 0.4.1 of both Markdown grammars, which also works with Tree-sitter libraries older than 0.25.
  • Show source newlines inside a paragraph as spaces, so text fills the window width. A paragraph you edit shows its real lines, with a ↵ where they will join. Hard breaks stay. Set markdown-modern-join-paragraph-lines to nil to keep lines as written, in general or for one file.
  • TAB in the last cell of a table adds a new row. TAB and S-TAB now stop in empty cells.
  • Fix code-block editing so abort restores the original text.
  • Check all 214 tests on Emacs 30.1 and 31.1. CI also tests the newest upstream grammars every month.

You need Git and a C compiler to build the grammars. On Windows, the README explains how to get a compiler.

Download the tarball below and install it with M-x package-install-file, or follow the README.

To return to the previous release, install the package from tag 1.1.0.