peg-markdown
« Back to VersTracker
Description:
Markdown implementation based on a PEG grammar
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: markdown parsing peg text-processing c-library
Install: brew install peg-markdown
About:
PegMarkdown is a markdown parser and formatters written in C, utilizing a Parsing Expression Grammar (PEG) for robust syntax analysis. It converts markdown text into various output formats like HTML, LaTeX, and groff man pages. Its primary value is providing a fast, dependency-free library for embedding markdown processing capabilities into other applications.
Key Features:
  • PEG-based parsing for strict syntax definition
  • Multiple output formats (HTML, LaTeX, groff, etc.)
  • Written in C for high performance and portability
  • Minimal external dependencies
Use Cases:
  • Generating static site content from markdown files
  • Embedding markdown support into C-based applications
  • Converting documentation to man pages or PDF formats
Alternatives:
  • cmark – cmark is the CommonMark reference implementation, offering strict spec compliance and a modular architecture.
  • pandoc – pandoc is a universal document converter supporting a much wider range of input/output formats but is significantly heavier.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 12:08pm 1 VERSION_BUMP 06a90072