markmv - v1.39.2
    Preparing search index...

    Function extractCommand

    • CLI command handler for extract operations.

      Writes each inline base64 image data URI in the given markdown files out to a real image file and rewrites the markdown to link to it. The image filename derives from the alt text when it yields a usable slug, otherwise a per-file img-1, img-2, ... counter is used; the extension comes from the data URI's mime type.

      Parameters

      • patterns: string[]

        File patterns to process (supports globs)

      • options: ExtractOptions

        Command options

      Returns Promise<void>


      Will exit the process with code 1 if the operation fails