yEd supports formatting text using HTML markup. Please see How can I achieve different text stylings within one label? for more information.