Put code piece in text