Write it on Github and publish on your domain. Github has an option for you to fire up a web-editor (VSCode) right there in the browser with the keyboard `.` (<- that is a period). So, you can write right then and there (I do it quite often these days).
When publishing, choose a Jekyll theme of your choice from Github Pages[1]. Your focus now are just enough plain text (Markdown).
If you want to bring it to your desktop/device, just checkout the repo and write. These days, my choice is to just write in Obsidian and don't even try to run Jekyll.
What do you get out of this? The simplicity of focusing on your writing with almost Plain Text while Github takes care of your theme, hosting, SSL, and custom domain[2] for FREE. I have been on the Internet long enough to know that the best intentioned services will go away one day and so you need to be able to own your content and use tools to publish them the way you want.
Of course, you will need to book a domain and own it. I like Cloudflare[3] that takes care of pretty much everything you want to do with a domain for free. If you so wish, you can even let Cloudflare do the page building[4] and hosting while you keep Github for the source.
Plug: I build a super simple Jekyll theme[5] just so I can do this. I wrote an article about it on my website[6].
2. https://docs.github.com/en/pages/configuring-a-custom-domain...
4. https://pages.cloudflare.com