Add tmp function to open a temp markdown file