macOS
brew install discountlocal Homebrew formula metadata
sudo port install discountMacPorts ports tree · textproc/discount/Portfile · 来源: api.github.com
安装
brew install discountlocal Homebrew formula metadata
sudo port install discountMacPorts ports tree · textproc/discount/Portfile · 来源: api.github.com
sudo apk add discountAlpine Linux edge package indexes · discount · 来源: dl-cdn.alpinelinux.org
sudo apt install discountDebian stable package indexes · discount · 来源: deb.debian.org
sudo dnf install discountFedora Rawhide package metadata · discount · 来源: dl.fedoraproject.org
nix profile install nixpkgs#discountnixpkgs package indexes · pkgs/by-name/di/discount/package.nix · 来源: api.github.com
sudo pacman -S discountArch Linux sync databases · discount · 来源: geo.mirror.pkgbuild.com
sudo zypper install discountopenSUSE Tumbleweed package metadata · discount · 来源: download.opensuse.org
概览
C implementation of Markdown
历史
Discount is Jessica L. Parsons' C implementation of John Gruber's Markdown markup language.
The official site describes Discount as a C implementation of Markdown, positioned against the many scripting-language Markdown implementations of its era. It provides a library, command-line programs, examples, and extensions such as smartypants-style substitutions and extra list syntax.
Discount became useful to package collections because it offered Markdown as a small C library and CLI rather than only as a script. The official site continues to ship release tarballs, including the 3.0 series and maintained 2.2 series.
The command-line documentation describes a markdown program that reads Markdown and writes HTML or a parse-tree outline. The API documentation makes it useful for embedding Markdown conversion in C programs, while the command-line tools fit scripting and static-site workflows.
Package nerds care about Discount because it is a native-code Markdown implementation with a stable tarball culture, command-line tooling, and library API: exactly the sort of small C dependency that shows up in Unix packaging graphs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
makepage | cli | 全局可执行文件 | |
mkd2html | cli | 全局可执行文件 | |
theme | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.pell.portland.or.us/~orc/Code/discount/
安装元数据
| 软件包键 | brew:discount |
|---|---|
| 版本 | 3.0.1.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/discount |
| 主页 | https://www.pell.portland.or.us/~orc/Code/discount/ |
| 仓库 | https://github.com/Orc/discount |
| 上游文档 | https://www.pell.portland.or.us/~orc/Code/discount |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://www.pell.portland.or.us/~orc/Code/discount/discount-3.0.1.3.tar.bz2 |
| 最后更新 | 2026-06-14T15:34:39Z |
| Pulse | updated |
| 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 | discount |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
discount 2.2.7-2.1
implementation of the Markdown markup language in C
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install discountlibmarkdown2 2.2.7-2.1
implementation of the Markdown markup language in C (library)
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install libmarkdown2libmarkdown2-dev 2.2.7-2.1
implementation of the Markdown markup language in C (dev files)
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install libmarkdown2-devdiscount
nix profile install nixpkgs#discountdiscount 2.2.7-2build1
implementation of the Markdown markup language in C
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install discountlibmarkdown2 2.2.7-2build1
implementation of the Markdown markup language in C (library)
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install libmarkdown2libmarkdown2-dev 2.2.7-2build1
implementation of the Markdown markup language in C (dev files)
http://www.pell.portland.or.us/~orc/Code/discount/
sudo apt install libmarkdown2-devdiscount 3.0.1.2-r1
Markdown to HTML translator written in C
https://www.pell.portland.or.us/~orc/Code/discount/
sudo apk add discountdiscount-dev 3.0.1.2-r1
Markdown to HTML translator written in C (development files)
https://www.pell.portland.or.us/~orc/Code/discount/
sudo apk add discount-devdiscount-doc 3.0.1.2-r1
Markdown to HTML translator written in C (documentation)
https://www.pell.portland.or.us/~orc/Code/discount/
sudo apk add discount-docdiscount-libs 3.0.1.2-r1
Markdown to HTML translator written in C (libraries)
https://www.pell.portland.or.us/~orc/Code/discount/
sudo apk add discount-libsdiscount 2.2.7-14.fc44
A command-line utility for converting Markdown files into HTML
http://www.pell.portland.or.us/~orc/Code/discount
sudo dnf install discountlibmarkdown 2.2.7-14.fc44
A fast implementation of the Markdown language in C
http://www.pell.portland.or.us/~orc/Code/discount
sudo dnf install libmarkdownlibmarkdown-devel 2.2.7-14.fc44
Development headers for the libmarkdown library
http://www.pell.portland.or.us/~orc/Code/discount
sudo dnf install libmarkdown-develdiscount 3.0.1.3-1
A Markdown implementation written in C
https://www.pell.portland.or.us/~orc/Code/discount/
sudo pacman -S discountdiscount 3.0.1.2-2.2
Markdown text to HTML converter
https://www.pell.portland.or.us/~orc/Code/discount/
sudo zypper install discount来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.