mii-key / obsidian-links

manipulate & manage obisidian links
MIT License
105 stars 5 forks source link

Decode URIs #12

Open NomarCub opened 1 year ago

NomarCub commented 1 year ago

Optionally it would be nice if auto pasted URLs could be decoded. Right now links like https://jisho.org/word/寿司 are URL encoded into https://jisho.org/word/%E5%AF%BF%E5%8F%B8 which is long and harder to deal with in plain text, which is otherwise markdown's strength. If the decoded URL has whitespace, it could be wrapped in angled brackets, like so: <https://en.wikipedia.org/wiki/Blue jay>. See this implementation: https://github.com/denolehov/obsidian-url-into-selection/pull/27