You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may try out img-paste.vim as an alternative. The default keymap to insert an image is <leader>p. Additionally, you can specify different insertion format for different filetypes using auto command.
For example, this is my config to save image at in the folder img/<FilenameWithoutExtension>/:
vim.cmd[[augroup vimrc " Remove all vimrc autocommands autocmd! au FileType markdown let g:mdip_imgdir = "/img/" .. expand("%:t:r")augroup END]]
Is your feature request related to a problem? Please describe.
coc-markdown-preview-enhanced 中插入图片还不是很快捷。
Describe the solution you'd like
增加一个插入图片的命令,别如 insert-image; 例如
例1, 位于 /home/archlinux/md/测试.md 文件, 文件中设置了 image-directory, image-prefix 时
例2, 位于 /home/archlinux/md/测试2.md, 未设置 image-directory, 设置了 image-prefix.
例3, 位于 /home/archlinux/md/测试3.md, 未设置 image-directory,image-prefix.
例4, 位于 /home/archlinux/md/测试3.md, 未设置 image-directory,image-prefix.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: