

That’s basically what gopher is: a capsule of hierarchically ordered documents, easily browsable thanks to a normalized interface
https://en.wikipedia.org/wiki/Gopher_(protocol)
The web is one of its spiritual successor and is plenty usable to share text files. Most if not all software can generate indexes of content in a directory. wget and friends can be used to retrieve the whole archive. If you generate html files you can then style them independently of the content.

The hosting part is, indeed, a technical part but a tool like copyparty can help here:
https://github.com/9001/copyparty/blob/hovudstraum/README.md#markdown-viewer
It runs everywhere, is just a single file you double-click to open and browse from your browser. Makdown files are automatically rendered. You can upload a bunch of files directly, or just send them by mail and put them in a directory served by copyparty