FHachez / obsidian-convert-url-to-iframe

Plugin for Obsidian.md to convert a selected URL to an iframe.
200 stars 17 forks source link

Feature Request: Automatically recognise an URL surrounding a cursor #11

Open OscarAblinger opened 3 years ago

OscarAblinger commented 3 years ago

If there is currently no visual selection, it would be cool if the plugin would automatically assume that the current word is the URL to the preview. It doesn't need to be too smart about it, but the basic functionality would be nice.

I can also contribute that, but only if you'd be willing to accept a PR with that feature.

FHachez commented 3 years ago

@AblingerOscar It could be a nice feature. We could also have paste URL as Iframe. If you have some time, feel free to open a PR 😉

Edit: I see that you also made a proposition for this. https://github.com/FHachez/obsidian-convert-url-to-iframe/issues/12 I think that should be the easiest to start with.

OscarAblinger commented 3 years ago

I'm just starting my vacation today 😂

But afterwards I might

FHachez commented 3 years ago

Great, enjoy your holidays 😉