Add markdown file extension precondition.

- Yay tests. :heart_eyes: