I use Joplin. It has a lot of options for synchronization protocols (I use WebDAV to my Nextcloud) and is just a bunch of .MD files under the hood.
Discussion
I use Joplin for markdown too.
Do either of you use the sync function? It doesnt seem to consistently export/import. Desktop doesnt match mobile. Or lags severely.
Thanks never heard of it. Will check it out.