✪ MD Quote
Quote selected text

Script key: Quote selected text

Posted by @fabiantheblind

Install

Details

Label ✪ MD Quote
Voice Over Quote selected text
Script
// Script keys run short Javascripts
// For documentation and examples, visit:
// http://help.agiletortoise.// Script steps run short Javascripts
// For documentation and examples, visit:
// http://help.agiletortoise.com
// author Fabian 'fabiantheblind' Morón Zirfas 


var sel = getSelectedText();
if(sel.length>0){

  var arr = sel.split('\n');

  for(var i = 0;i< arr.length;i++){
    arr[i] = '> ' + arr[i];

  }
 sel = arr.join('\n');
 setSelectedText(sel);

 
}

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus