I realize that webdav is a bit troublesome what about someone having a look at https://remotestorage.io/.
Haven’t heard of it much, so let’s see if it takes off.
Laverna , another notes taking app, uses it.
Laverna got discontinued though.
Forked as encryptic, being actively developed.