code snippet formatting