From e36772e87d7794b6979cbaf79c06570fc28e903f Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Mon, 23 Feb 2026 17:16:49 +0100 Subject: [PATCH] languages/markdown: add mdformat footnotes extension --- docs/manual/release-notes/rl-0.9.md | 5 ++++- modules/plugins/languages/markdown.nix | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index 4a028a1b..ea460926 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -183,7 +183,10 @@ - Added [Selenen](https://github.com/kampfkarren/selene) for more diagnostics in `languages.lua`. -- Added [`mdformat`](https://mdformat.rtfd.io/) support to `languages.python`. +- Added [`mdformat`](https://mdformat.rtfd.io/) support to `languages.markdown` + with the extensions for [GFM](https://github.github.com/gfm/), + [front matter](https://www.markdownlang.com/advanced/frontmatter.html) and + [footnotes](https://www.markdownguide.org/extended-syntax/#footnotes). - Added XML syntax highlighting, LSP support and formatting diff --git a/modules/plugins/languages/markdown.nix b/modules/plugins/languages/markdown.nix index f0cf1aa1..76b1e92f 100644 --- a/modules/plugins/languages/markdown.nix +++ b/modules/plugins/languages/markdown.nix @@ -61,6 +61,7 @@ mdformat mdformat-gfm mdformat-frontmatter + mdformat-footnote ])) "mdformat"; }; };