implement a markdown function. Also a new util fn for dired mode to copy files.