Action

Obsidian (Daily)

Posted by alexeyre, Last update over 3 years ago

UPDATES

over 3 years ago

Fix wait-for-response

Send the current draft to an Obsidian vault called “Notes”.

Requires Obsidian Advanced URI.

Steps

  • script (iOS only)

    // See online documentation for examples
    // https://docs.getdrafts.com/docs/actions/scripting
    const lines = editor.getText().split('\n').map( (line) => "- " + line).join('\n')
    editor.setText(lines);
  • callbackUrl (iOS only)

    template
    obsidian://advanced-uri?vault=Notes&daily=true&data=[[draft]]&mode=append
    waitForResponse
    false
    encodeTags
    true

Options

  • After Success Archive , Tags: obsidian
    Notification Error
    Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.