To turn off macOS text replacement, in the toolbar select Edit → Substitutions and uncheck Text Replacement

If Text Replacement is grayed out, select Show Substitutions and then uncheck Text Replacement in the pop-up window.

To turn off macOS text replacement, in the toolbar select Edit → Substitutions and uncheck Text Replacement

If Text Replacement is grayed out, select Show Substitutions and then uncheck Text Replacement in the pop-up window.
