replace code with code-block