Replace all code blocks