{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation/2"}],"enrichment":{"capability":"Integrates ruff code formatting into mdformat to automatically format Python code blocks within Markdown files.","skillfed_tags":["markdown-formatting","code-block-linting"],"use_cases":["Format Python code examples in project README and documentation files to match your ruff configuration.","Enforce consistent code style in Markdown-based documentation as part of a pre-commit hook workflow.","Automatically convert Python string quotes in code blocks when ruff is configured to do so.","Maintain formatting consistency between Python code blocks in Markdown and the main codebase during CI/CD checks."],"what_it_does":"mdformat-ruff is a plugin for mdformat that applies ruff formatting rules to Python code blocks embedded in Markdown files. When installed, it automatically enables ruff as the code formatter for Python blocks when you run mdformat from the command line, or you can explicitly enable it via the mdformat Python API by passing python to the codeformatters parameter.\n\nThe plugin depends only on ruff and integrates into mdformat's plugin architecture. It works with Python 3.7 through 3.12 and is commonly used in documentation workflows and pre-commit hooks to ensure Python code examples in Markdown stay consistently formatted.","worth_installing":"Yes, if you use mdformat for Markdown formatting and want Python code blocks formatted by ruff. Install friction is minimal and the plugin integrates transparently. The aging maintenance status is a minor concern\u2014no recent updates\u2014but the package remains functional and unarchived with no known vulnerabilities. Suitable for documentation workflows where ruff is already your Python formatter."},"id":"mdformat-ruff","links":{"html":"https://skillfed.io/packages/mdformat-ruff","md":"https://skillfed.io/packages/mdformat-ruff.md","pypi":"https://pypi.org/project/mdformat-ruff/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-02-11","license_spdx":null,"license_treatment":"permissive","name":"mdformat-ruff","python_support":"supports_current","summary":"Mdformat plugin to ruffen Python code blocks"},"popularity":{"monthly_downloads":122041,"position":11963,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
