Text manipulation

Hi
Just wondering if I cud be helped to troubleshoot an extension plz. I want to select text in obsidian, and create codeBlock with it, my try

# popclip
name: CodeBlock
icon: square filled CB
required apps: [md.obsidian]
applescript: return “```" & linefeed & "{popclip text}” & linefeed & ”```”
after: paste-result

Thank you

Rookie mistake :innocent:
this works → replace the quotes !!

1 Like