SkillAgentSearch skills...

Pinmd.nvim

Picture In Markdown. A plugin written in Lua for Neovim to paste images from clipboard.

Install / Use

/learn @mistgc/Pinmd.nvim
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h1>Pinmd</h1> <p>Picture In Markdown</p> </div>

Install

packer.nvim

use 'mistgc/pinmd.nvim'

lazy.nvim

{ 'mistgc/pinmd.nvim' }

Usage

cmd: PinmdPaste

usage

Config

Recommend Config:

options = {
    files = {
        link_format = "relative_path_in_vault",
        location_for_new_attachments = "specified_folder_in_vault",
        attachment_folder_path = "_attachments/" -- folder specified by yourself
    }
}

Default Config:

options = {
    files = {
        link_format = "absolute_path_in_vault", -- "absolute_path_in_vault", "relative_path_in_vault"
        location_for_new_attachments = "vault_folder", -- "vault_folder", "specified_folder_in_vault"
        attachment_folder_path = "assets/imgs/",
    },
    images = {
        name = function()
            return tostring(os.date("%Y-%m-%d-%H-%M-%S"))
        end,
    },
    filetype = {
        default = {
            affix = "%s",
        },
        markdown = {
            affix = "![](%s)",
        },
        asciidoc = {
            affix = "image::%s[]",
        },
    },
}
View on GitHub
GitHub Stars19
CategoryDevelopment
Updated4mo ago
Forks0

Languages

Lua

Security Score

92/100

Audited on Nov 10, 2025

No findings