macOS
brew install md4clocal Homebrew formula metadata
sudo port install md4cMacPorts ports tree · devel/md4c/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de md4c pour les workflows d'agents IA.
installation
brew install md4clocal Homebrew formula metadata
sudo port install md4cMacPorts ports tree · devel/md4c/Portfile · Source: api.github.com
sudo apk add md4cAlpine Linux edge package indexes · md4c · Source: dl-cdn.alpinelinux.org
sudo dnf install md4cFedora Rawhide package metadata · md4c · Source: dl.fedoraproject.org
nix profile install nixpkgs#md4cnixpkgs package indexes · pkgs/by-name/md/md4c/package.nix · Source: api.github.com
sudo pacman -S md4cArch Linux sync databases · md4c · Source: geo.mirror.pkgbuild.com
sudo zypper install md4copenSUSE Tumbleweed package metadata · md4c · Source: download.opensuse.org
sudo apt install libmd4c-devDebian stable package indexes · libmd4c-dev · Source: deb.debian.org
aperçu
C Markdown parser. Fast. SAX-like interface
historique
MD4C is a Markdown parser implementation in C. The upstream README expands the name as Markdown for C and presents the project as a CommonMark-oriented, embeddable parser with a SAX-like callback API and an optional HTML renderer.
The GitHub repository was created on 2016-10-03, and the project has continued as a small C library centered on a compact parser surface: the README emphasizes that the parser is implemented in one source file and one header file, with no dependencies beyond the standard C library.
MD4C's design grew around CommonMark compatibility, extension flags, and predictable performance. The upstream documentation says it targets CommonMark 0.31, supports common extensions such as tables, task lists, footnotes, strikethrough, math spans, wikilinks, and admonitions, and exposes both parser callbacks and a separate Markdown-to-HTML API.
The package-manager metadata supplied for this batch shows MD4C packaged across Homebrew, Debian/Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE. That breadth fits its role as a small C dependency that distributions can ship both as a library and as the `md2html` command.
The upstream repository tags include a long 0.x release series through release-0.5.3, indicating a project that has remained versioned and maintained after its initial public repository appeared in 2016.
Library users include `md4c.h` and call `md_parse()` with callbacks for block, span, and text events. Applications that only need HTML can link the HTML renderer and call `md_html()`, receiving chunks of generated HTML through a callback.
The command-line packaging commonly exposes `md2html`, making MD4C useful both as a library dependency and as a quick Unix-style Markdown-to-HTML converter.
Package maintainers care about MD4C because it is a small, dependency-light C implementation of a common document parsing problem. The README explicitly contrasts it with DOM-style parsers and emphasizes embedding, compactness, portability, and resistance to pathological parsing inputs.
Its package appeal is also practical: it gives C and C++ projects a permissively licensed CommonMark parser without vendoring a larger Markdown stack or depending on a language runtime.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
md2html | cli | exécutable global |
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.
métadonnées d'installation
| Clé du paquet | brew:md4c |
|---|---|
| Version | 0.5.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/md4c |
| Page d'accueil | https://github.com/mity/md4c |
| Dépôt | https://github.com/mity/md4c |
| Docs amont | https://github.com/mity/md4c#readme |
| Licence | MIT |
| Archive source | https://github.com/mity/md4c/archive/refs/tags/release-0.5.3.tar.gz |
| Dépendances de compilation | cmake |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | md4c |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libmd4c-dev 0.5.2-2+b1
Markdown for C - development files
sudo apt install libmd4c-devlibmd4c-html0 0.5.2-2+b1
Markdown for C HTML-renderer
sudo apt install libmd4c-html0libmd4c-html0-dev 0.5.2-2+b1
Markdown for C HTML-renderer - development files
sudo apt install libmd4c-html0-devlibmd4c0 0.5.2-2+b1
Markdown for C
sudo apt install libmd4c0md2html 0.5.2-2+b1
Markdown to HTML converter
sudo apt install md2htmlmd4c
nix profile install nixpkgs#md4clibmd4c-dev 0.4.8-1build1
Markdown for C - development files
sudo apt install libmd4c-devlibmd4c-html0 0.4.8-1build1
Markdown for C HTML-renderer
sudo apt install libmd4c-html0libmd4c-html0-dev 0.4.8-1build1
Markdown for C HTML-renderer - development files
sudo apt install libmd4c-html0-devlibmd4c0 0.4.8-1build1
Markdown for C
sudo apt install libmd4c0md4c 0.5.3-r0
Fast Markdown parser written in C
sudo apk add md4cmd4c-dev 0.5.3-r0
Fast Markdown parser written in C (development files)
sudo apk add md4c-devmd4c-doc 0.5.3-r0
Fast Markdown parser written in C (documentation)
sudo apk add md4c-docmd4c-libs 0.5.3-r0
Fast Markdown parser written in C (libraries)
sudo apk add md4c-libsmd4c 0.5.1-5.fc44
Markdown for C
sudo dnf install md4cmd4c-devel 0.5.1-5.fc44
Development files for md4c
sudo dnf install md4c-develpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.