Reindent code snippets