Automic VaultAutomic Vault

brew

Installer mdformat avec Homebrew, apt, Nix, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mdformat pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install mdformat

local Homebrew formula metadata

Linux

Debian aptvérifié · 92%
sudo apt install mdformat

Debian stable package indexes · mdformat · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#mdformat

nixpkgs package indexes · pkgs/by-name/md/mdformat/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S mdformat

Arch Linux sync databases · mdformat · Source: geo.mirror.pkgbuild.com

aperçu

Résumé du paquet

CommonMark compliant Markdown formatter

historique

Historique du projet et usages

mdformat is an opinionated CommonMark-compliant Markdown formatter available as both a Unix-style command-line tool and a Python library. It formats Markdown documents in place, checks formatting in CI, and exposes plugin hooks for parser extensions and code-block formatting.

Historique du projet

The project was published to PyPI in July 2020 as version 0.1.0 and is developed in the hukkin/mdformat GitHub repository. Its README describes the core pitch as enforcing a consistent Markdown style while preserving CommonMark-rendered output.

The changelog shows steady maturation of the 0.7 series: configuration in `.mdformat.toml` arrived in 0.7.10, plugin interfaces evolved in 0.7.19, and version 1.0.0 later removed older Python support, added markdown-it-py v4 support, and added CommonMark 0.31.2 support.

Historique d'adoption

mdformat's adoption is tied to Python packaging and automated formatting workflows. Its official docs show installation with pipx, Python API use, and use as a pre-commit hook by referencing the GitHub repository and pinning a revision.

The plugin docs document a broader ecosystem of mdformat-* packages for GitHub Flavored Markdown, MyST, front matter, table-of-contents generation, code-block formatting with Black, shfmt, gofmt, rustfmt, and related tools. The input facts list availability in Homebrew, Debian, Nix, and Arch-style packaging.

Modes d'utilisation

Common CLI usage is `mdformat README.md CHANGELOG.md`, `mdformat .` for recursive formatting, `mdformat -` for standard input, and `mdformat --check` in CI. The tool also exposes a Python API through `mdformat.text()` and `mdformat.file()`.

Configuration is resolved from a TOML file named `.mdformat.toml`, searched upward from the formatted file or from the current working directory for standard input. Command-line arguments take precedence over configuration values.

Pourquoi les passionnés de paquets s'y intéressent

mdformat is a useful package-history marker for the shift from Markdown rendering tools to Markdown style enforcement. It fills a similar cultural role for Markdown that Black filled for Python: fewer formatting arguments, more reproducible diffs.

Its plugin model matters to packagers because optional behavior is split across separately distributed Python packages. That keeps the core package small but makes environment composition important for users who need GFM, MyST, front matter, or code-block formatters.

Chronologie

  • 2020: Version 0.1.0 published to PyPI.
  • 2021: Version 0.7.10 added `.mdformat.toml` configuration.
  • 2025: Version 1.0.0 published with Python support and CommonMark updates.
  • 2026: Homebrew formula tracked stable version 1.0.0.

Related projects

  • The README explicitly compares mdformat with Prettier for Markdown formatting and discusses CommonMark-focused behavior.
  • The plugin ecosystem includes mdformat-gfm, mdformat-black, mdformat-toc, mdformat-myst, mdformat-frontmatter, and other official-doc-listed extensions.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 1 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.mdformat.toml

exécutables

Exécutables installés

CommandeTypeExpositionNote
mdformatcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire1.0.0
gestionnaire mis à jour
données localesOK
amontnot checked
dernière version détectéenon détecté

https://mdformat.readthedocs.io/en/stable/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:mdformat
Version1.0.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/mdformat
Page d'accueilhttps://mdformat.readthedocs.io/en/stable/
Dépôthttps://github.com/hukkin/mdformat
Docs amonthttps://mdformat.readthedocs.io/en/stable
LicenceMIT
Archive sourcehttps://files.pythonhosted.org/packages/3f/05/32b5e14b192b0a8a309f32232c580aefedd9d06017cb8fe8fce34bec654c/mdformat-1.0.0.tar.gz
Dépendancespython@3.14
Bouteilledisponible (sur all)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemdformat
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

mdformat 0.7.22-1

CommonMark compliant Markdown formatter

sudo apt install mdformat
  • Section: python
  • Architecture: all
  • 5 Dépendances
  • normalized package name match
  • Correspondance par : Mdformat
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mdformat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mdformat

nix profile install nixpkgs#mdformat
  • normalized package name match
  • Correspondance par : Mdformat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/md/mdformat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

mdformat 1.0.0-2

CommonMark compliant Markdown formatter

https://github.com/hukkin/mdformat

sudo pacman -S mdformat
  • License: MIT
  • Architecture: any
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Mdformat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mdformat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment