Skip to content

Commit f8979d8

Browse files
committed
fix(rich-text-clipboard-to-markdown.sh): execution error
1 parent c50cc84 commit f8979d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/conversions/rich-text-clipboard-to-markdown.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if ! command -v pandoc &> /dev/null; then
2020
fi
2121

2222
export LC_CTYPE=UTF-8
23-
osascript -e 'the clipboard as "HTML"'| perl -ne 'print chr foreach unpack("C*",pack("H*",substr($_,11,-3)))' | pandoc --from=html --to=gfm | pbcopy
23+
osascript -e 'the clipboard as «class RTF »' | perl -ne 'print chr foreach unpack("C*",pack("H*",substr($_,11,-3)))' | pandoc --from=rtf --to=gfm | pbcopy

0 commit comments

Comments
 (0)