I use Typora https://typora.io/ which has most of the functionality including Markdown, Code blocks with syntax highlighting, LateX segments, and is more importantly free and cross platform.
It has recently added file list preview and tree view like functionality. Only missing on tags which are tricky because they break its pure markdown flat file philosophy.