Added code highlighting for pre blocks. Moved markdown parser to helper.