Scrivener

Scrivener is a word processor for MacOS and Windows intended for writers (professional or amateur), allowing the maintenance of notes and annotations in addition to the main document.