App icon 1Writer

Copy Zettel Title

Shared by @ctietze

Copy current Zettel note as link target of the form "§IDENTIFIER TITLE"

Script

const fileName = editor.getFileName()
  // remove extension
  .replace(/\.[^/.]+$/, "");
const link = "§" + fileName;
app.setClipboard(link);
ui.hudSuccess();

//ui.alert(link);