Background
TextBundle (and its zipped form, TextPack) is the closest prior art to .mdz and the primary interoperability target. Rather than adding compatibility hacks to the .mdz spec itself, the plan is to compete on ecosystem — building importers that convert other formats into .mdz.
Proposal
Add mdzip import <file>.textbundle (and .textpack) to mdzip-cli:
- Read a TextBundle's
text.* content and assets/ folder.
- Produce a valid
.mdz archive with the markdown as the canonical entry point and assets carried over.
- Handle TextBundle's
info.json metadata where it has a sensible .mdz manifest equivalent; drop what doesn't map.
Notes
Structure the importer to be pluggable (a small interface per source format) since more importers are planned (see the AI project-export importer, a related issue). Keep the .mdz spec itself unchanged — this is purely an ingestion feature.
Background
TextBundle (and its zipped form, TextPack) is the closest prior art to
.mdzand the primary interoperability target. Rather than adding compatibility hacks to the.mdzspec itself, the plan is to compete on ecosystem — building importers that convert other formats into.mdz.Proposal
Add
mdzip import <file>.textbundle(and.textpack) to mdzip-cli:text.*content andassets/folder..mdzarchive with the markdown as the canonical entry point and assets carried over.info.jsonmetadata where it has a sensible.mdzmanifest equivalent; drop what doesn't map.Notes
Structure the importer to be pluggable (a small interface per source format) since more importers are planned (see the AI project-export importer, a related issue). Keep the
.mdzspec itself unchanged — this is purely an ingestion feature.