I use Vimwiki in vim and Obsidian outside of Vim -- they can be configured to use exactly the same pile of Markdown files as a vault/wiki.
[1] https://github.com/vimwiki/vimwiki