http://pandoc.org/
To copy to/from clipboard, use getclip | … | putclip (see Cygwin page).
getclip | … | putclip