Format like in Word or write TextMeshPro tags directly. Both stay in sync, and the preview always shows the TMP code.
Paste straight from Word or Google Docs and the formatting comes along. Black and near-black text from pasted documents is treated as the default color. Sizes come out as percentages of the TMP component's font size, so Huge becomes <size=200%>. Line breaks are written as <br>, because the game drops real ones; Copy tags converts any you typed too. In the TMP code, \n and text copied as a C# string in quotes are understood too, and tags TextMeshPro doesn't recognize show up as plain text, the same as in Unity. The preview uses a stand-in font, so spacing in Unity will differ slightly.