Markdown, write cache.

Closes #20.
Closes #19.