Command Palette

There are already a bunch of options for this. We call them actions. You type a back slash and go from there. Text Actions Cheat Sheet

On Mac, you can also bring up a formatting palette using View > Show Formatting Window (it has a shortcut).