To solve this problem once in for all, i building CMS which draft and edit the content from GitHub.
It has Notion like Markdown editor
It is got based headless CMS
Solving my own itch actually so having fun. Let me know if you are interested to try it out as beta user
> PS: Write and publish before you write your own static site generator or perfect blogging platform. We have lost billions of good writers to this side quest because they spend all their time working on the platform instead of writing.