> It lives in a private NextCloud instance, so everything's available from my laptop or phone (although editing markdown on a phone is no fun).
Have you tried Markor? https://github.com/gsantner/markor#screenshots I have found that it's a pretty good Markdown editor for Android. It's available in F-Droid too.