Have you tried... WordPerfect? It still exists: https://www.wordperfect.com/en/product/wordperfect/
The first feature they list is Reveal Codes.
Personally I like Latex as it reveals all the codes and lets you type them, change them, find-and-replace them, define new ones, etc. But then, I'm a mathematician, so it's designed for my stuff.
• The final version for classic MacOS, and there's a ready-made VM to run it on a modern Mac.
• The GUI version for Linux, and there's a site dedicated to helping you install it on a modern Linux.
• And Tavis Ormandy found and resurrected the final ever terminal-mode text-only WordPerfect for Linux, relinking it for x86 Linux.
I described how to get all 3 here:
https://www.theregister.com/2022/07/20/wordperfect_for_unix_...
Crashed a lot, though.
You and me both, friend.