add code snippets to post