Action Directory / #todo add

Install

Inserts hashtag formatted todo

Shared by @mediapathic

Script

// asks for a task, and inserts it at cursor position formatted like [task](#TODO:). This is optimised for the imdone technique (http://imdone.io), but works well for any text-based todo system that allows searching by hashtags.

ui.input('Todo', null, 'input taak', function(zettel) {
    if (zettel) {
        editor.replaceSelection('[' + zettel + '](#TODO:)\n');
    }
});