Package: wnpp
Severity: wishlist
X-Debbugs-Cc: debian-r...@lists.debian.org

* Package name    : mdq
  Version         : 0.3.0
  Upstream Contact: https://github.com/yshavit
* URL             : https://github.com/yshavit/mdq
* License         : Apache-2.0, MIT
  Programming Lang: Rust
  Description     : like jq but for Markdown: find specific elements in a md doc

mdq aims to do for Markdown what jq does for JSON: provide an easy way
to zero in on specific parts of a document.

For example, GitHub PRs are Markdown documents, and some organizations
have specific templates with checklists for all reviewers to
complete. Enforcing these often requires ugly regexes that are a pain
to write and worse to debug. Instead, you can (for example) ask mdq
for all uncompleted tasks:

    mdq '- [ ]'

----

This is super interesting for me as it allows comparing the structure
of markdown documents easily. This can also be done with regexes, but
is much harder as there's lots of corner cases.

Reply via email to