Action

Insert Link to Draft

Posted by agiletortoise, Last update almost 4 years ago

Action will prompt to select a draft, and insert a wiki-style [[Title of Draft]] link to the draft in the current draft.

Steps

  • script

    let d = app.selectDraft();
    if(d) {
    	editor.setSelectedText(`[[${d.displayTitle}]]`);
    }

Options

  • After Success Nothing
    Notification None
    Log Level None
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.