Skip to content

TextBundle importer (mdzip import file.textbundle) #4

Description

@kylemwhite

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions