Action

Open corresponding obsidian note

Posted by Sharfaroz, Last update 13 days ago

Useful if you maintain the same draft titles as obsidian note titles. Change the “Vaultname” in the script with the name of your vault.

Steps

  • script

    var title = draft.processTemplate("[[title]]");
    var encoded = encodeURIComponent(title);
    var uri = "obsidian://open?vault=VaultName&file=" + encoded;
    app.openURL(uri);
    

Options

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