Following the previous commit, since there's a simpler and cleaner method to mark links to be embed, remove code from the 2 commits that aren't being used for future code
Instead of searching for links, let the user use Obsidian's "embed web pages" feature and catch whenever they can't parse the link.
If this works, this makes the last 2 commits about "Markdown link text format" useless, as this is a much more cleaner approach to it. Sad..
- User pastes url
- Plugin suggests to embed (has an option to cancel or tap anywhere else to cancel)
- After accepting to embed, mark the link for embedding [ae:embed](link)
- Use registerDomEvent() to automatically attach and detach event.
- Made listening 1 listener to listen to events, instead of each sources listening to the event, improving performance.