utility to turn simply formatted text into markup
