remark is a popular tool that transforms markdown with plugins. These plugins can inspect and change your markup. You can use remark on the server, the client, CLIs, deno, etc. (by remarkjs)
Basically the thing you need in an API you can fetch to access all or specific posts of yours. The posts are usually written in Markdown (to keep the aspect), and transformed to HTML on the frontend, there are node packages like [Remark](https://www.npmjs.com/package/remark) for that.
Is Astro ready for your blog?
20 projects | dev.to | 24 Apr 2022
MDSveX: The bridge between Markdown and Svelte
8 projects | dev.to | 4 Mar 2022
Combining Markdown and HTML to HTML
2 projects | reddit.com/r/nextjs | 18 Apr 2021
NPM Needs: snarkdown
3 projects | dev.to | 10 Apr 2022
Powerful Code Blocks with Code Hike and MDX
7 projects | dev.to | 6 Mar 2022