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

созданный 7h | 23 февр. 2025 г., 21:30:12


Войдите, чтобы добавить комментарий