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
feat(img_paste): mimic Obsidian's behavior when pasting images. (#15)
* feat(img_paste): mimic Obsidian's behavior when pasting images.
This commit attempts to implement behavior similar to Obsidian's when
pasting an image, without requiring a name (#13).
It also includes a string validation for the filename. Although Obsidian
allows filenames to contain invalid characters, it warns you about
potential issues with links not working as a result.
* add default img_name_func, respects confirm and user define
* use vim.uri_encode to escape file path
* fix: use the builtin urlencode so that unicode path are readable
* fix: remove unneeded annotation
* fix: more descriptive CHANGELOG
---------
Co-authored-by: zizhou teng (n451) <[email protected]>
Co-authored-by: neo451 <[email protected]>
0 commit comments