Background
.mdz archives package markdown + assets into a zip, but that packaging defeats source-level text search: grep, GitHub code search, and cross-archive search in an editor can't see into zip contents. As docs and content collections grow, this becomes a real gap — searching a folder of .mdz archives for a term currently requires manually unzipping each one.
Proposal
Add a mdz grep <pattern> <path...> (and/or mdz search) command that:
- Extracts and searches the markdown (and optionally manifest) content of one or more
.mdz archives without writing to disk.
- Supports the usual grep-adjacent conveniences: multiple files/globs, case-insensitive search, line-number output.
- Is fast enough to run over a directory of archives in one invocation.
Notes
This is CLI-first; a follow-on could add an archive-aware index/search UI inside an editor app, but that's out of scope here.
Background
.mdzarchives package markdown + assets into a zip, but that packaging defeats source-level text search:grep, GitHub code search, and cross-archive search in an editor can't see into zip contents. As docs and content collections grow, this becomes a real gap — searching a folder of.mdzarchives for a term currently requires manually unzipping each one.Proposal
Add a
mdz grep <pattern> <path...>(and/ormdz search) command that:.mdzarchives without writing to disk.Notes
This is CLI-first; a follow-on could add an archive-aware index/search UI inside an editor app, but that's out of scope here.