I would like to suggest to look at Scrivener https://www.literatureandlatte.com/scrivener/overview as a research an really helpfull writing tool.