mdq
« Back to VersTracker
Description:
Like jq but for Markdown
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: markdown jq cli text-processing developer-tools
Install: brew install mdq
About:
Mdq is a command-line utility that applies jq-like JSON processing to Markdown documents. It parses Markdown into a structured format, allowing users to query headers, lists, links, and other elements using a familiar syntax. This enables powerful extraction and transformation of text directly from the command line.
Key Features:
  • Parses Markdown into a queryable JSON structure
  • Uses a jq-like syntax for filtering and selecting content
  • Seamless integration with standard Unix pipelines
  • Preserves Markdown structure during transformation
Use Cases:
  • Extracting all links or headers from a documentation file
  • Transforming Markdown data into JSON for API consumption
  • Filtering specific sections from large technical documents
Alternatives:
  • pandoc – General-purpose document converter; heavier and lacks specific jq-like query syntax for Markdown structure.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 1:55am 0 VERSION_BUMP 4076406f