I have been obsessed with this question for my studies but have found no option perfect so I have kind of let it go.
I have tried Trilium (not Next) and like it the most but one big markdown file interested me and a lack of a mobile app hurt.
I really like just rsync-ing my markdown file between servers and devices but I also really like writing by hand.
Therefore, I pretty much just take handwritten notes for myself, conferences, and when conducting research.
If something is really noteworthy then it becomes a paper or a blogpost.