Show HN: Jq-Like Tool for Markdown

There have been a few times I wanted the ability to select some text out of a Markdown doc. For example, a GitHub CI check to ensure that PRs / issues / etc are properly formatted.

This can be done to some extent with regex, but those expressions are brittle and hard to read or edit later. mdq uses a familiar pipe syntax to navigate the Markdown in a structured way.

It's in 0.x because I don't want to fully commit to the syntax being stable, in case real-world testing shows that the syntax needs tweaking. But I think the project is in a pretty good spot overall, and would be interested in feedback!


Comments URL: https://news.ycombinator.com/item?id=43152704

Points: 40

# Comments: 3

https://github.com/yshavit/mdq

Created 6mo | Feb 23, 2025, 9:30:12 PM


Login to add comment

Other posts in this group

Framework Laptop 16
Aug 26, 2025, 5:20:31 PM | Hacker news
Show HN: A zoomable, searchable archive of BYTE magazine

A while ago I was looking for information on a obscure and short lived British computer. I found an article[1] in the archives of BYTE magazine[2] - and was captivated immediately by the tech adve

Aug 26, 2025, 5:20:30 PM | Hacker news
Show HN: My OSS P2P file transfer tool for learning Next.js (as a C++ dev)

Hey HN,

I'm a C++ algorithms engineer, and today I'd like to share my first full-stack web project: PrivyDrop.

This project was born from two ideas:

First, I wanted to solve a daily annoyanc

Aug 26, 2025, 5:20:19 PM | Hacker news