Skip to content

Suggest to make the list of image extensions to be an option #134

@patricorgi

Description

@patricorgi

local has_image_ext = str:match("^.*%.(png)$") ~= nil

I found drag-n-drop a .pdf file is not supported in this plugin, and found the culprit is at above line which only takes certain image types. Since img-clip provides the process_cmd option, it is possible to convert a one-page pdf file to be an image, and the usage is unlimited.

Thanks for considering this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions