#️⃣
Convert selected words to hashtags

Script key: Convert selected words to hashtags

Posted by Pawel Grzybek @pawelgrzybek https://pawelgrzybek.com/

Install

Details

Label #️⃣
Voice Over Convert selected words to hashtags
Script
const selectedText= getSelectedText();
const arrayOfWords = selectedText.split(' ');
const listOfHashtags = arrayOfWords.map(word => `#${word}`).join(' ');

setSelectedText(listOfHashtags);

Advanced

Keyboard shortcut None
Hide key Yes

Discussion

comments powered by Disqus