Add better support for markdown and restructered files.

Add text width and spelling for markdown and rst files.