I was using MarkText and a fairly structured set of directories. I switched to Bookstack which allows me to do essentially the same thing but with a web interface and the ability to share with even using RBAC. It doesn’t do the cool linking stuff though.
I’ve been using this image with different providers for years. I would highly recommend it.
https://hub.docker.com/r/qmcgaw/ddns-updater