✪ >
Markdown quote selection

Script key: Markdown quote selection

Posted by @longhighway

Install

Details

Label ✪ >
Voice Over Markdown quote selection
Script
oldText = getSelectedText();
newText = "\n> " + oldText.replace(/(\r\n|\n|\r)/gm, "\n> ");
newerText = newText.replace(/> >/gm, ">");
setSelectedText(newerText);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus