modify code block in posts