docs: add mdformat-ruff to integrations.md (#9924)

Can [mdformat-ruff](https://github.com/Freed-Wu/mdformat-ruff) be hosted
in <https://github.com/astral-sh> like other integrations of ruff? TIA!
This commit is contained in:
wzy 2024-02-11 11:39:15 +08:00 committed by GitHub
parent af2cba7c0a
commit 25868d0371
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: