Is there any way to make a hotkey to paste a specified line in note?

You can use a simple Templater Js snippet you can bind to a key combo.

<%*
clipboard = (await tp.system.clipboard());
tR += "<sup>[" + clipboard + "](" + clipboard + ")<sup>";
_%>

Needed:

  • Templater plugin and script with hot key set up
  • Link in clipboard

Line will be pasted at cursor position.

A similar thread where user shows how they set up Templater:

1 Like