Obsidian is a popular note-taking app that has a built-in paid publishing pipeline. It works well and if you don't mind obsidian.md being the entry-point to your notes, it's good to support them with $8/month.
If you're a self-hosting advocate, want a free option, or just love experimenting with open collaboration tech (like me), there is an easy option called the Digital Garden plugin for Obsidian.
You can learn about it here.
It took me about 5 minutes to set up. It integrates Obsidian on the client end, Github repos for the versioning/storage, and Vercel for publishing. All of these have free tiers.
Tags are used to state which notes get published versus stay private.
Be sure to tip the author if the solutions works for you.