{"by":"yshavit","descendants":75,"id":43152704,"kids":[43153653,43153119,43153395,43154991,43153591,43161017,43155664,43156091,43155277,43157969,43153326,43163001,43156896,43161435,43160556,43160697,43153559,43156894,43155369,43171358,43153637],"score":325,"text":"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 &#x2F; issues &#x2F; etc are properly formatted.<p>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.<p>It&#x27;s in 0.x because I don&#x27;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!","time":1740341149,"title":"Show HN: Jq-Like Tool for Markdown","type":"story","url":"https://github.com/yshavit/mdq"}