Many times, when you are documenting a project, you just want to copy in some email. This turns out to be quite difficult to do, so here’s a guide:
- If you do a simple copy and paste into a text file, the indents are going to be horrible as is the word wrap. A simple fix if you are using
viis to use the command
gqwhich is the formatting command.
- Remember that
Gis going about going, so, for instance,
gq<movementwill do automatic wrapping to wherever you are going. So
gqqmeans just reformat the current like
gq}means reformat to the first blank line. Pretty useful.
- There will. oftentimes be images and things inside an email. So how do you deal with those. Well, Markdown makes it pretty easy to add an image, with the syntax where you just add an exclamation point in front of a traditional reference, so
![image.png]just display the image. If you want to add a text reference for non-image display then it is !(friendly description of image)[image.png]
- It’s oftentimes easier if you are going to do this for many images, to just rename them all en mass with the Mac Finder Rename.