If you're hosting nextcloud anyway you might also want to check out the notes app. It creates a Notes folder in your account from which you can edit the markdown files, has a nice markdown editor in the nextcloud web UI, and comes with Android and iOS clients so you don't have to setup file access and find a separate markdown editor.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments