{"repo":"ntk148v/yankdown.nvim","free":true,"listed":false,"github":"https://github.com/ntk148v/yankdown.nvim","clone":"git clone https://github.com/ntk148v/yankdown.nvim.git","description":"Smart paste for Markdown in Neovim","language":"Lua","stars":14,"topics":["markdown","neovim","neovim-plugin","nvim","nvim-plugin","pandoc","rich-text-convertor"],"license":"MIT","category":"ai-agents","readme_excerpt":"yankdown.nvim Smart paste for Markdown in Neovim - Overview - Demo - Features - Requirements - Installation - Setup - Usage - Commands - Lua - Keymaps - Plug mappings - Optional paste interception - Fallback behavior - How it works - Architecture - Development Overview We're past peak prose. Every LLM outputs Markdown. Every answer, every code review, every draft — it's all ## headings , - lists , and lua { \"ntk148v/yankdown.nvim\", opts = {}, -- calls setup() automatically } vim Plug 'ntk148v/yankdown.nvim' lua use 'ntk148v/yankdown.nvim' lua require(\"yankdown\").setup({ auto intercept = false, -- override p/P in Markdown buffers notify = true, -- warn once on paste fallback/conversion failure check = \"lazy\", -- cache dependency check on first Markdown paste }) vim :YankdownPaste \" paste after cursor :YankdownPaste! \" paste before cursor :YankdownCheck \" display dependency status lua require(\"yankdown\").paste({ direction = \"after\" }) require(\"yankdown\").paste({ direction = \"before\" }) lua vim.keymap.set({ \"n\", \"x\", \"i\" }, \" p\", function() require(\"yankdown\").paste({ direction = \"after\" }) end) vim :map p (yankdown-paste-after) :map P (yankdown-paste-before) lua require(\"yankdown\").setup({ auto intercept = true, }) Paste invoked ├─ Markdown buffer? ─── no ──→ Native paste └─ yes ├─ Clipboard has HTML? ─── no ──→ Native paste └─ yes ├─ Platform supported? ─── no ──→ Warn once → Native paste └─ yes ├─ Read HTML from clipboard ├─ Pipe through pandoc ├─ pandoc succeeds? ─── no ──→ ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ntk148v","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ntk148v/yankdown.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}