markmv - v1.39.2
    Preparing search index...

    Function embedCommand

    • CLI command handler for embed operations.

      Converts linked local images in markdown files to inline base64 data URIs. Each referenced image file is read, base64-encoded, and the markdown link rewritten to the data URI. An image file is removed once no file in the processed set references it any more.

      Parameters

      • patterns: string[]

        File patterns to process (supports globs)

      • options: EmbedOptions

        Command options

      Returns Promise<void>


      Will exit the process with code 1 if the operation fails