I've bounced between a bunch of different ones. Each time I switched and moved the directory over the formatting and linking tended to break. In the end, I settled on just a raw hierarchical directory structure using raw markdown (using a basic text editor) for typed notes and whatever other relevant media (pictures, pdfs, whatever), and GoodNotes for handwritten notebooks with PDF backups saved to directory on my Nextcloud.
I don't know, maybe my needs are odd but I've just never found a single application that could handle all of my note-taking and documentation needs. Everything is close, but frustratingly annoying in one missing feature or another. And all of them seemed damned slow compared to just opening up a file browser or a terminaland doing what I needed.
As for file syncing, Logseq was pretty easy to handle syncing for. I just put the logseq notes directory on my Nextcloud and Bob's you're uncle. Access on my desktop, laptop and mobile devices. Don't have to use Nextcloud though, just something that would allow you to sync the directory between devices. Syncthing would probably work. Just don't bounce between devices too fast. Causes conflicts you have to correct manually.