Add .markdown suffix to editor's temporary file

This way the text editor can detect the file type.

Before: `/tmp/tmpQwSEId`
After: `/tmp/tmpQwSEId.markdown`