@emma I use Pages. As I believe another has mentioned, all of those cool fancy features are worth diddly when you publish. If I wrote outside of the Apple ecosystem I might use something like Scrivener but probably not. I’d just painfully set up a shared directory with the script I am working on and a different appropriate editor application per OS.