{"id":48764490,"url":"https://github.com/mistgc/pinmd.nvim","last_synced_at":"2026-04-13T07:46:29.852Z","repository":{"id":183012358,"uuid":"669458356","full_name":"mistgc/pinmd.nvim","owner":"mistgc","description":"Picture In Markdown. A plugin written in Lua for Neovim to paste images from clipboard.","archived":false,"fork":false,"pushed_at":"2024-06-01T09:49:14.000Z","size":1914,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-02T08:59:16.087Z","etag":null,"topics":["clipboard","lua","markdown","neovim","neovim-plugin","nvim-lua","nvim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mistgc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-22T10:48:01.000Z","updated_at":"2024-06-02T07:37:49.000Z","dependencies_parsed_at":"2023-07-22T12:49:40.255Z","dependency_job_id":"e482f879-0322-4856-9e63-53b57fdae060","html_url":"https://github.com/mistgc/pinmd.nvim","commit_stats":null,"previous_names":["zaiic/pinmd.nvim","mistgc/pinmd.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mistgc/pinmd.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistgc%2Fpinmd.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistgc%2Fpinmd.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistgc%2Fpinmd.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistgc%2Fpinmd.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mistgc","download_url":"https://codeload.github.com/mistgc/pinmd.nvim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mistgc%2Fpinmd.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31744404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clipboard","lua","markdown","neovim","neovim-plugin","nvim-lua","nvim-plugin"],"created_at":"2026-04-13T07:46:27.716Z","updated_at":"2026-04-13T07:46:29.821Z","avatar_url":"https://github.com/mistgc.png","language":"Lua","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003ePinmd\u003c/h1\u003e\n    \u003cp\u003ePicture In Markdown\u003c/p\u003e\n\u003c/div\u003e\n\n## Install\n\npacker.nvim\n\n```lua\nuse 'mistgc/pinmd.nvim'\n```\n\nlazy.nvim\n\n```lua\n{ 'mistgc/pinmd.nvim' }\n```\n\n## Usage\ncmd: `PinmdPaste`\n\n![usage](assets/pinmd.nvim_usage.gif)\n\n## Config\n\nRecommend Config:\n\n```lua\noptions = {\n    files = {\n        link_format = \"relative_path_in_vault\",\n        location_for_new_attachments = \"specified_folder_in_vault\",\n        attachment_folder_path = \"_attachments/\" -- folder specified by yourself\n    }\n}\n```\n\nDefault Config:\n\n```lua\noptions = {\n    files = {\n        link_format = \"absolute_path_in_vault\", -- \"absolute_path_in_vault\", \"relative_path_in_vault\"\n        location_for_new_attachments = \"vault_folder\", -- \"vault_folder\", \"specified_folder_in_vault\"\n        attachment_folder_path = \"assets/imgs/\",\n    },\n    images = {\n        name = function()\n            return tostring(os.date(\"%Y-%m-%d-%H-%M-%S\"))\n        end,\n    },\n    filetype = {\n        default = {\n            affix = \"%s\",\n        },\n        markdown = {\n            affix = \"![](%s)\",\n        },\n        asciidoc = {\n            affix = \"image::%s[]\",\n        },\n    },\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistgc%2Fpinmd.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmistgc%2Fpinmd.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmistgc%2Fpinmd.nvim/lists"}