mdq
github.com · Open source · Active
Command-line tool to select parts of a Markdown document
- Developer tools
- Open source
- Rust
- Day-7 check
- Day-30 check
- Stars
- 1.8k
- Forks
- 22
- Open issues
- 14
- Last commit
- Releases
- 15
- Found
- 21 months ago
GitHub figures as of . They are context, not a ranking.
mdq is a Rust command-line tool that works like jq for Markdown, using a pipe syntax to select elements from a document. The maker keeps it at version 0.x so the syntax can change. It suits developers who script checks or extractions on Markdown files.
Positioned as an alternative to jq.
Repository description on GitHub: “like jq but for Markdown: find specific elements in a md doc”
What it does
- Selects parts of a Markdown document with a jq-style pipe syntax
- Structured queries that are less brittle than regular expressions
- Can run in CI checks to validate Markdown formatting
Good for
- Extract sections from a Markdown file inside a script
- Check Markdown formatting in a CI job
Suits: Developers who script checks or extractions on Markdown files.
Worth knowing: Still version 0.x, so the query syntax can change between releases
What you can try
Read the README on GitHub and install from source.
Install
brew install mdqcargo install mdqdocker pull yshavit/mdqConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw mdq on , when yshavit posted it to Show HN. The oldest published release on GitHub is v0.1.0-alpha, dated . mdq had been shipping tagged releases for 222 days before it was found. 15 releases have been published in total; the latest is v0.10.0 ().
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 325 points, 75 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 2 releases shipped
- 2 releases in the first 30 days: v0.3.1 (24 Mar 2025), v0.4.0 (25 Mar 2025)
- Show HN discussion at check time: 325 points, 75 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: yshavit/mdq
- Release v0.1.0-alpha (pre-release)
- Found: yshavit posted it to Show HN. Show HN
- Release v0.6.1
- Release v0.7.0
- Release v0.7.2
- Release v0.8.0
- Release v0.9.0
- Release v0.10.0
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 15 releases. All releases on GitHub
Quick answers
- When was mdq released?
- Its first tagged release on GitHub is dated 17 Jul 2024. Kip found it on Show HN on 23 Feb 2025.
- Is mdq open source?
- Its source is public on GitHub at yshavit/mdq under the Apache-2.0 licence.
- What does mdq run on?
- Command line.
- Is mdq free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is mdq still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | yshavit/mdq REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-43152704. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.