{"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":"A plugin for mdformat that automatically formats Python code blocks in Markdown files using Black's code style rules.","skillfed_tags":["markdown-formatting","code-style-enforcement"],"use_cases":["Automatically format Python code examples in technical documentation to match your project's Black style.","Ensure consistency between code snippets in README files and your actual codebase formatting.","Integrate Python code block formatting into a Markdown linting or CI pipeline alongside mdformat.","Format Python code blocks in blog posts or tutorials written in Markdown without manual editing."],"what_it_does":"mdformat-black is a plugin that extends mdformat to apply Black's Python code formatting rules to Python code blocks within Markdown files. When installed, mdformat automatically recognizes and formats Python code blocks using Black's conventions\u2014converting quote styles, enforcing line length, and applying other Black rules\u2014while leaving the rest of your Markdown untouched.\n\nThe plugin works both from the command line (automatically after install) and programmatically via mdformat's Python API (where you must explicitly enable it by passing `codeformatters={\"python\"}` to mdformat.text()). It requires Python >=3.6,<4.0 and depends on mdformat and black as runtime dependencies.","worth_installing":"Yes, if you use mdformat and want Python code blocks in your Markdown to follow Black's style. The low install friction, permissive license, and lack of known vulnerabilities make it straightforward. However, the aging maintenance status (last release 2020-09-24) means you should verify compatibility with your current Black and mdformat versions before relying on it in production workflows."},"id":"mdformat-black","links":{"html":"https://skillfed.io/packages/mdformat-black","md":"https://skillfed.io/packages/mdformat-black.md","pypi":"https://pypi.org/project/mdformat-black/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2020-09-24","license_spdx":null,"license_treatment":"permissive","name":"mdformat-black","python_support":"supports_current","summary":"Mdformat plugin to Blacken Python code blocks"},"popularity":{"monthly_downloads":114372,"position":12299,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.1"}
