Recognize email address as link

I’m filing this as a bug because there is odd CodeMirror behavior, but it could also be a feature request. Feel free to re-categorize as you see fit.

Steps to reproduce

Type in an email address.

Expected result

Email address is recognized as a valid link with mailto: URI scheme.

Actual result

In edit mode, if your cursor is in or adjacent to the text, the email address is a valid link. If you move the cursor beyond the text, the link is gone. No email link is recognized in preview mode.

Environment

  • Operating system: Windows 10
  • Obsidian version: 0.8.3

Additional information

this looks fixed