macOS
brew install md4clocal Homebrew formula metadata
sudo port install md4cMacPorts ports tree · devel/md4c/Portfile · ソース: api.github.com
brew
md4c のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install md4clocal Homebrew formula metadata
sudo port install md4cMacPorts ports tree · devel/md4c/Portfile · ソース: api.github.com
sudo apk add md4cAlpine Linux edge package indexes · md4c · ソース: dl-cdn.alpinelinux.org
sudo dnf install md4cFedora Rawhide package metadata · md4c · ソース: dl.fedoraproject.org
nix profile install nixpkgs#md4cnixpkgs package indexes · pkgs/by-name/md/md4c/package.nix · ソース: api.github.com
sudo pacman -S md4cArch Linux sync databases · md4c · ソース: geo.mirror.pkgbuild.com
sudo zypper install md4copenSUSE Tumbleweed package metadata · md4c · ソース: download.opensuse.org
sudo apt install libmd4c-devDebian stable package indexes · libmd4c-dev · ソース: deb.debian.org
概要
C Markdown parser. Fast. SAX-like interface
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
md2html | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:md4c |
|---|---|
| バージョン | 0.5.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/md4c |
| ホームページ | https://github.com/mity/md4c |
| リポジトリ | https://github.com/mity/md4c |
| 上流ドキュメント | https://github.com/mity/md4c#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/mity/md4c/archive/refs/tags/release-0.5.3.tar.gz |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.