Allow linking and embedding from search dialog

The search dialog could allow users to quickly link or embed found blocks/pages by using a modifier key. For example:

  • Cmd+Enter would link to the selected result, be it a block ( ((selected result)) ) or a page ( [[selected result]] ).
  • Alt+Enter would embed the selected result, be it a block ( {{embed ((selected result))}} ) or a page ( {{embed [[selected result]]}} ).

This would provide an additional method for linking content (without cluttering the UI), and — perhaps more importantly — save the user the trouble of remembering if some piece of content was entered as a page or a block, sidestepping issues like this one.


  • A short reminder of the modifier keys could be present at the bottom of the list.
  • This behaviour is only useful while editing, so the search dialog could be modified only in that situation.