aboutsummaryrefslogblamecommitdiffstats
path: root/fish/functions/copy-to-markdown.fish
blob: aaa91e19225161574e03832154c33a2ba2f960f3 (plain) (tree)
1
2
3


                                                                                                                          
function copy-to-markdown --description 'Text copied from browser will be converted to Markdown and put back on clipboard'
	xclip -o -selection clipboard -t text/html | pandoc -r html -w markdown | xclip -i -selection clipboard
end