md4c
« Back to VersTracker
Description:
C Markdown parser. Fast. SAX-like interface
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: markdown parser c-library markdown-parser commonmark gfm
Install: brew install md4c
About:
MD4C is a lightweight C library designed for parsing Markdown content into an abstract syntax tree (AST) or event stream. It provides a fast, SAX-like interface that allows developers to process Markdown efficiently with minimal memory overhead. The library supports CommonMark and GitHub Flavored Markdown (GFM) specifications.
Key Features:
  • SAX-like event-based parsing interface
  • High performance with minimal memory footprint
  • Support for CommonMark and GFM specifications
  • Written in pure C with no external dependencies
  • Extensible callback system for custom rendering
Use Cases:
  • Building static site generators and documentation tools
  • Implementing Markdown rendering in embedded systems or performance-critical applications
  • Creating custom Markdown processors and transpilers
  • Parsing Markdown in command-line utilities and CLI tools
Alternatives:
  • cmark – More full-featured reference implementation, but larger and slower
  • hoedown – Similar performance focus, but MD4C has better GFM support
Version History
Detected Version Rev Change Commit
Sep 10, 2025 9:54am 0 VERSION_BUMP e458856d