Change text color with Popclip (MacOS)

Hi All,

Sorry if already posted, just wanted to share a method I’m using to change color of text, that I found cumbersome to do it.

I am new to Obsidian but I heavy user of Popclip in MacOS. Today I create an extensión of Popclip that solved this issued for me.

Just select the text and changed with the Popclip:


This is the script I used to create the extension:


prefix = "<font style=color:#fb8b24><strong>"
suffix = "</strong></font>"

space = input.match(/^([\s\n]*)\S.*?([\s\n]*)$/m)
print "#{space[1]}#{prefix}#{input.strip}#{suffix}#{space[2]}"