(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43152704

有几次我希望能够从Markdown Doc中选择一些文本。例如,GitHub CI检查以确保PRS / essess / etc的格式正确。这可以在某种程度上使用Regex进行,但是这些表达式却很脆弱,稍后很难阅读或编辑。 MDQ使用熟悉的管道语法以结构化的方式导航降价。它在0.x中,因为我不想完全提交语法稳定,以防真实世界测试表明该语法需要调整。但是我认为该项目总体上是一个不错的位置,并且对反馈感兴趣!


原文
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!

联系我们 contact @ memedata.com