Support Reference Links in Edit mode/Live Preview (reference-style)

Steps to reproduce

Test in Linux desktop and iOS app, same result. Only first party plugins are installed or enabled.

  • Create a new note.
  • Create a new reference link [0]: https://example.com
  • Create a link using the reference link [my link][0]
  • While still in edit mode click on the new link
  • a new note is created named [

Expected result

Clicking the link should open the reference link

Actual result

Clicking the link in editor mode creates a new note named [

Environment

  • Operating system: Linux and iOS
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.0.0
    Installer version: v1.0.0
    Operating system: #1 SMP PREEMPT_DYNAMIC Thu, 13 Oct 2022 18:58:49 +0000 6.0.1-arch2-1
    Login status: logged in
    Catalyst license: insider
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: Obsidian Nord
    Snippets enabled: 0
    Restricted mode: on
3 Likes