fix formatting of code blocks