replace picture with code snippets