Fixed code block formatting

Various code blocks were not formatted correctly