Add support: markdown + Bugfix

This PR adds support for the `markdown` tool as well as it solves a bug related to the using of alternative formatting options.