I use full on git enterprise software for personal use, and it has wiki support with markdown and mermaid. It’s keen.