Prepare Agenda for Notes

Posted by Mike_Burke, Last update about 1 year ago

Makes selection into a markdown list and adds a sub-bullet to each item.


  • script

    let myList = editor.getSelectedText().replace(/\n/g,"\n\t- \n- ");
    editor.setSelectedText("- "+myList+"\n\t- ");


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