Bit Complete interview question

Create a function to parse some markdown text