Here are some solid options for publishing markdown content online:
GitHub Pages is probably your best bet - it's completely free, has been around since 2008, and is backed by Microsoft. You can use Jekyll (built-in) or other static site generators to convert markdown to websites. It's reliable and unlikely to disappear.
GitLab Pages offers similar functionality to GitHub Pages, also free, and supports various static site generators. GitLab has been around since 2011 and is well-established.
Notion lets you write in a markdown-like syntax and publish pages publicly. It's been around since 2016, has strong funding, and offers a generous free tier. Very user-friendly if you want something less technical.
Obsidian Publish is designed specifically for publishing markdown notes and wikis. It costs $8/month but creates beautiful, interconnected sites. Obsidian itself has been growing steadily since 2020.
Gitiles or GitBook are other options - GitBook has been around since 2014 and offers markdown-based documentation/wiki publishing with a free tier.
For maximum longevity and zero cost, I'd lean toward GitHub Pages. It requires a bit more technical setup initially, but you get complete control over your content, it's backed by a major tech company, and you can always export your markdown files if needed. Plus, the Jekyll ecosystem is mature and well-supported.
What type of content are you planning to publish? That might help narrow down the best fit.