Querying Markdown

Query, filter, and transform Markdown structurally with mq — a jq-like CLI for Markdown. Use to extract headings/sections/code-blocks/links from .md files, build a table of contents, pull code blocks of a given language, slice or reshape LLM prompt/output Markdown, or batch-transform docs. Triggers on "extract sections from this markdown", "get all the code blocks", "jq for markdown", "mq", or any structural query over Markdown that grep/Read can't do cleanly.

oaustegard Updated 395 repo stars

File contents

oaustegard/claude-skills commit 83fa8c0870

Frequently asked questions

npx get-skill add oaustegard/querying-markdown-2