Adding automagic snippet from text.