Made the code blocks seperate pargraphs to correct the formatting.