Texts with different styles

Process texts with different styles, e.g.:

I am a text with a bold part.