Markdown options

This PR adds the functionality that is detailed in issue #184.