How can I apply different styles within one line of text?

This doesn’t compile as the quotes are invalid. Only " work for strings.