The «Markdown Editor» extension allows you to format the store’s content (product descriptions, articles, CMS blocks and so on) with Markdown.
The source is on GitHub: https://github.com/mage2pro/markdown