Fancy-looking names on Facebook come from special characters rather than any built-in formatting option.
Copying accented letters or decorative symbols into your display name produces something like Senorita, with the tilde doing the work. Text generators that assemble these strings from Unicode characters are the usual source.
One caution: Facebook periodically removes names it considers to break its real-name policy, so a heavily decorated name can be reset without warning.