adjust code-snippet formatting