How to get a document to display its contents in quick look
You can install QLMarkdown plugin for Finder:

https://github.com/toland/qlmarkdown#installation


  QLMarkdown is a simple QuickLook generator for Markdown files. It
  renders a preview of the selected Markdown file using Discount