Sublime or VS code, as markdown in Dropbox for constant backup and easy roll-back for up to a week or something. I had used Ulysses on the Mac but an iCloud sync bug caused me to lose 8 hours of notes from customer meetings so that was the end of that. VS code has a lot of nice markdown plugins and I also use the “highlight” plugin for arbitrary colour based on regex for custom things like tags I include.