macOS
brew install discountlocal Homebrew formula metadata
sudo port install discountMacPorts ports tree · textproc/discount/Portfile · source: api.github.com
brew
C implementation of Markdown. Version 3.0.1.3 via Homebrew; verified 2026-06-14.
install
brew install discountlocal Homebrew formula metadata
sudo port install discountMacPorts ports tree · textproc/discount/Portfile · source: api.github.com
sudo apk add discountAlpine Linux edge package indexes · discount · source: dl-cdn.alpinelinux.org
sudo apt install discountDebian stable package indexes · discount · source: deb.debian.org
sudo dnf install discountFedora Rawhide package metadata · discount · source: dl.fedoraproject.org
nix profile install nixpkgs#discountnixpkgs package indexes · pkgs/by-name/di/discount/package.nix · source: api.github.com
sudo pacman -S discountArch Linux sync databases · discount · source: geo.mirror.pkgbuild.com
sudo zypper install discountopenSUSE Tumbleweed package metadata · discount · source: download.opensuse.org
overview
C implementation of Markdown
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
makepage | cli | global executable | |
mkd2html | cli | global executable | |
theme | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://www.pell.portland.or.us/~orc/Code/discount/
install metadata
| Package key | brew:discount |
|---|---|
| Version | 3.0.1.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/discount |
| Homepage | https://www.pell.portland.or.us/~orc/Code/discount/ |
| Repository | https://github.com/Orc/discount |
| Upstream docs | https://www.pell.portland.or.us/~orc/Code/discount |
| License | BSD-3-Clause |
| Source archive | https://www.pell.portland.or.us/~orc/Code/discount/discount-3.0.1.3.tar.bz2 |
| Last updated | 2026-06-14T15:34:39Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 discountsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.