I have a notes app that will store encrypted notes and renders Markdown in full note view. It stores them on relays but you can keep them local if you run a private relay. Then you lose the backup redundancy of writing to multiple relays though. The encryption is what matters.