An email from a user:
Take your comma list using the same idea
convert words separated by a space to hashtags so they can be quickly inserted into social media
OHHHHLALALA Brilliant!!word count should then give a total count of the number of hashtags…
This can be done as an extension snippet like this:
#popclip
name: Hashtag List
icon: 'square filled #'
after: paste-result
javascript: |
const words = popclip.input.text.split(' ')
return '#' + words.join(' #')
(The above block is an extension snippet - select it to install the extension with PopClip)
Example:
NOTES:
I had to put the icon specifier 'square filled #'
in quotes because without them, the #
is just a YAML comment.