https://suttafriends.org/help/type-pali-letters/ You can download a program(?) that allows you to type pali diacritics.
I also found this thread very helpful: