Action Directory / #todo add


Inserts hashtag formatted todo

Shared by @mediapathic


// asks for a task, and inserts it at cursor position formatted like [task](#TODO:). This is optimised for the imdone technique (, 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');