macOS
brew install cmarklocal Homebrew formula metadata
sudo port install cmarkMacPorts ports tree · devel/cmark/Portfile · 来源: api.github.com
安装
brew install cmarklocal Homebrew formula metadata
sudo port install cmarkMacPorts ports tree · devel/cmark/Portfile · 来源: api.github.com
sudo apk add cmarkAlpine Linux edge package indexes · cmark · 来源: dl-cdn.alpinelinux.org
sudo dnf install cmarkFedora Rawhide package metadata · cmark · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cmarknixpkgs package indexes · pkgs/by-name/cm/cmark/package.nix · 来源: api.github.com
sudo pacman -S cmarkArch Linux sync databases · cmark · 来源: geo.mirror.pkgbuild.com
sudo zypper install cmarkopenSUSE Tumbleweed package metadata · cmark · 来源: download.opensuse.org
概览
Strongly specified, highly compatible implementation of Markdown
历史
cmark is the C reference implementation of CommonMark, providing both a libcmark parsing/rendering library and a cmark command-line program. It exists to make Markdown behavior testable, portable, fast, and consistent across implementations.
CommonMark grew out of the need for an unambiguous Markdown specification after years of divergent Markdown implementations. The CommonMark site says the effort started in 2014 with implementers and large-scale Markdown users, and the cmark README credits John MacFarlane with the original library and program alongside contributors to parsing, optimization, links, emphasis, APIs, and tests.
The CommonMark site reports implementations for dozens of programming languages and lists adopters including Discourse, GitHub, GitLab, Reddit, Qt, Stack Overflow/Stack Exchange, and Swift. The batch input lists cmark packages across Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE/zypper.
The cmark program parses CommonMark documents and renders HTML, groff man, LaTeX, CommonMark, or XML AST output. The library exposes an AST for programmatic manipulation and is wrapped by bindings for multiple languages; the README also documents security behavior around raw HTML and unsafe links.
cmark is important because it gives package ecosystems a small, fast, C99, dependency-light implementation of a standardized Markdown dialect. It is a common build or test dependency for projects that want Markdown rendering without inheriting each host language's quirks.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cmark | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/commonmark/cmark
安装元数据
| 软件包键 | brew:cmark |
|---|---|
| 版本 | 0.31.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cmark |
| 主页 | https://commonmark.org/ |
| 仓库 | https://github.com/commonmark/cmark |
| 上游文档 | https://commonmark.org/ |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/commonmark/cmark/archive/refs/tags/0.31.2.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 | cmark |
| 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 软件包链接分开显示。
cmark 0.30.2-6+b2
CommonMark parsing and rendering program
https://github.com/commonmark/cmark
sudo apt install cmarklibcmark-dev 0.30.2-6+b2
development files for CommonMark parsing and rendering library
https://github.com/commonmark/cmark
sudo apt install libcmark-devlibcmark0.30.2 0.30.2-6+b2
CommonMark parsing and rendering library
https://github.com/commonmark/cmark
sudo apt install libcmark0.30.2cmark
nix profile install nixpkgs#cmarkcmark 0.30.2-6build1
CommonMark parsing and rendering program
https://github.com/commonmark/cmark
sudo apt install cmarklibcmark-dev 0.30.2-6build1
development files for CommonMark parsing and rendering library
https://github.com/commonmark/cmark
sudo apt install libcmark-devlibcmark0.30.2 0.30.2-6build1
CommonMark parsing and rendering library
https://github.com/commonmark/cmark
sudo apt install libcmark0.30.2cmark 0.31.2-r0
C reference implementation of CommonMark, a rationalized Markdown spec
https://github.com/commonmark/cmark
sudo apk add cmarkcmark-dev 0.31.2-r0
C reference implementation of CommonMark, a rationalized Markdown spec (development files)
https://github.com/commonmark/cmark
sudo apk add cmark-devcmark-doc 0.31.2-r0
C reference implementation of CommonMark, a rationalized Markdown spec (documentation)
https://github.com/commonmark/cmark
sudo apk add cmark-doclibcmark 0.31.2-r0
C reference implementation of CommonMark, a rationalized Markdown spec (libraries)
https://github.com/commonmark/cmark
sudo apk add libcmarkcmark 0.31.1-3.fc44
CommonMark parsing and rendering
sudo dnf install cmarkcmark-devel 0.31.1-3.fc44
Development files for cmark
sudo dnf install cmark-develcmark-lib 0.31.1-3.fc44
CommonMark parsing and rendering library
sudo dnf install cmark-libcmark 0.31.2-1
CommonMark parsing and rendering library and program in C
https://github.com/commonmark/cmark
sudo pacman -S cmarkcmark 0.31.1-1.3
CommonMark parsing and rendering library and program in C
sudo zypper install cmark来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.