> Just give me an app that can handle nicely markdown files

You know what does that well? The filesystem.

I've tested pretty much all note-taking software out there. What ended up working for me is a bunch of markdown files inside folders, synced using Github.

I have search, formatting and preview thanks to VSCode, and I can access my notes on any machine that syncs with Github.

If you want to leave all your notes unencrypted on github, then sure that’s an option.

You can use something like git-crypt[0] to e2e encrypt it.

[0]: https://github.com/AGWA/git-crypt