Image in markdown in neovim overlap the image link text
I did not configure anything, left it at the defaults - at least in neovim.
Could this be related to something in kitty.conf?
OK, it must have to do with the kitty window size - when I maximize, it works ok, but as soon as I resize it to less than "174 cells" as kitty puts it, it overlaps. Interestingly this is 174 cells width, not height...
Height always works fine - when making it superslim, the image is scaled, which I suppose is how you intend it to be.
Any ideas?
I also have a similar problem
Same problem.
It seems reloading the file fixes this, and one thing that seems to cause this problem is when I have images and then I write new markdown below the images. I'll try if disabling images in insert mode would help or something.
I'm having issues reproducing this, do you have more info?
Yeah I am also having this issue.
same issue
Same issue here. Even tried with the default kitty config
I actually got it working by switching image nvim version to 1.10 it works fine there
I'm also having this issue with the most recent nvim version
I'm having issues reproducing this, do you have more info?
fresh install of kitty and didn't really modify much for the problem to occur. Although since you are having trouble reproducing it I might suspect the possibility of an MacOS issue? Just taking a wild guess here.
I use Linux, I'll try to test it later
I'm using Linux and I'm also having this issue
Are we all using magick_cli? Does it work with magick_rock?
Possibly yes, another commenter mentioned that in v1.10 it works and, correct me if I'm wrong, that version uses magick_rock .
macos with magick_cli here
having the same issue on linux using kitty
guys i have found a workaround. Use folke's snacks.nvim/image instead. Drop this plugin. https://github.com/folke/snacks.nvim/blob/main/docs/image.md I use LazyVim so I just added a somePluginName.lua file and pasted this in and works out the box
Here's my settings to adjust the height and width to my liking for now so the image isn't so big.
Cheers!!!
nice one, thanks.
I think you can use either inline or float. Since I prefer to see images only when hovering over them, I use float)true && inline=false. ymmv though
Thanks @devhaocui, in my experience folke's plugin just works better.
With image.nvim, apart from this issue, only first image would show up unless I get into the insert mode for some reason
Fresh kitty magick_cli debian setup here, experiencing the same.
4c51d6202628b3b51e368152c053c3fb5c5f76f2 has the problem for me. Pinning to the commit before, 21909e3eb03bc738cce497f45602bf157b396672, solves it for me.
should be fixed now