support for pasting code snippets