nicojeske / mousewheel-image-zoom

An Obsidian plugin that enables you to increase/decrease the size of an image by holding down a configurable key (defaults to left alt), hovering over an image in preview mode and scrolling.
MIT License
90 stars 5 forks source link

Does not work when the filename contains both spaces and Chinese characters. #26

Closed cangjun123 closed 1 year ago

cangjun123 commented 1 year ago

I have found that when importing a file with both Chinese characters and spaces in the filename, the image resizing function does not work. For example: "中 文.png".

nicojeske commented 1 year ago

How exactly does your markdown look like? I just tested with ![[中 文.png]] and the image is resizable.

cangjun123 commented 1 year ago

![](attachments/中%20文.png)