Markdown Previewer not passing tests

Have made a mistake with this question. Will come back later, hopefully someone can shed light on my project later.