mdq is a tool that aims to simplify navigating Markdown documents similar to how jq does for JSON. It eliminates the need for complex regular expressions when enforcing specific templates like checklists in GitHub PRs. mdq is available under flexible licenses and can be easily installed using various methods. The binaries are built on GitHub’s servers, ensuring security if you trust the code and dependencies. The filter syntax mirrors Markdown syntax, allowing users to select specific elements such as sections, lists, links, images, code blocks, and more. The tutorial and user manual provide detailed information on how to use mdq effectively.
https://github.com/yshavit/mdq