Skip to content

Modifiers

Brett Terpstra edited this page Jan 15, 2023 · 1 revision

The following symbols can be added to the end of a single-line search to affect the output. They can be used in combination:

  • !! will only return the URL without any link formatting
  • ^ will output the result to the clipboard and leave input text in place
  • ~ will check your clipboard for a link and wrap the selected text instead of running a search. If used with the : syntax, it will create an instant reference definition for the url in the clipboard
  • : will return a reference link definition ([text]: url). This works with bracket syntax as well.
    • if the resulting link already exists, any defined reference id will be replaced with the existing definition's id
    • if a future search results in an identical link, it will re-use the id of the generated reference definition
    • the reference definition will be moved to the end of the selection on multi-line searches
  • Using ^ at the beginning of the parenthetical portion of the bracket syntax will create a footnote instead of running a search. (e.g. [1](^footnote text)).