macOS
brew install discountlocal Homebrew formula metadata
sudo port install discountMacPorts ports tree · textproc/discount/Portfile · source: api.github.com
brew / rank 3586
C implementation of Markdown. Version 3.0.1.3 via Homebrew; verified 2026-06-14. Also installable with debian: sudo apt install discount.
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 | executable | indexed executable | Discovered from the local executable index. |
mkd2html | executable | indexed executable | Discovered from the local executable index. |
theme | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:discount |
|---|---|
| Version | 3.0.1.3 |
| Package manager | Homebrew |
| Homepage | https://www.pell.portland.or.us/~orc/Code/discount/ |
| Repository | https://github.com/Orc/discount |
| Last updated | 2026-06-14T15:34:39Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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.3-r0
Markdown to HTML translator written in C
https://www.pell.portland.or.us/~orc/Code/discount/
sudo apk add discountdiscount-dev 3.0.1.3-r0
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.3-r0
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.3-r0
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-15.fc45
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-15.fc45
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-15.fc45
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.4
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.