mdq: A jq for Markdown, Simplifying Document Parsing

2025-02-23
mdq: A jq for Markdown, Simplifying Document Parsing

mdq is a command-line tool that aims to simplify parsing Markdown documents, similar to how jq works with JSON. It allows users to easily extract specific parts of a document, such as to-do checklists in GitHub PRs. mdq supports various selectors covering headings, lists, links, images, code blocks, and more, with regex support. Its syntax mirrors Markdown, making it intuitive. Piping allows chaining filters for complex parsing tasks.

Development document parsing