Strip whitespace around code blocks; add more content.