discount
« Back to VersTracker
Description:
C implementation of Markdown
Type: Formula  |  Latest Version: 3.0.1.2@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: markdown text-processing html cli c-library
Install: brew install discount
About:
Discount is a fast, C-based implementation of the Markdown text-to-HTML converter. It compiles Markdown syntax into clean HTML, offering a lightweight and embeddable alternative to heavier scripting languages. The tool is designed for performance and portability, making it ideal for integration into C/C++ applications.
Key Features:
  • Fast C implementation
  • Command-line tool and library
  • Supports standard Markdown and extensions
  • Portable and lightweight
Use Cases:
  • Generating HTML from Markdown files in build pipelines
  • Embedding Markdown parsing into C/C++ applications
  • Converting documentation to web pages
Alternatives:
  • pandoc – Pandoc is a universal document converter with broader format support, while Discount is a focused, high-performance Markdown processor.
  • commonmark – CommonMark provides a highly standardized specification, whereas Discount focuses on speed and C-based portability.
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 11, 2025 9:34am 0 VERSION_BUMP a32250f8