From 25868d03711f917ec27d1076e6ab931ae6986ea3 Mon Sep 17 00:00:00 2001 From: wzy <32936898+Freed-Wu@users.noreply.github.com> Date: Sun, 11 Feb 2024 11:39:15 +0800 Subject: [PATCH] docs: add mdformat-ruff to integrations.md (#9924) Can [mdformat-ruff](https://github.com/Freed-Wu/mdformat-ruff) be hosted in like other integrations of ruff? TIA! --- docs/integrations.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/integrations.md b/docs/integrations.md index 098079ca57..a507657960 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -353,6 +353,12 @@ Alternatively, it can be used via the [Apheleia](https://github.com/radian-softw Ruff is also available via the [`textmate2-ruff-linter`](https://github.com/vigo/textmate2-ruff-linter) bundle for TextMate. +## mdformat (Unofficial) + +[mdformat](https://mdformat.readthedocs.io/en/stable/users/plugins.html#code-formatter-plugins) is +capable of formatting code blocks within Markdown. The [`mdformat-ruff`](https://github.com/Freed-Wu/mdformat-ruff) +plugin enables mdformat to format Python code blocks with Ruff. + ## GitHub Actions GitHub Actions has everything you need to run Ruff out-of-the-box: