Here’s how to make it pretty-ish: https://github.com/dbohdan/caddy-markdown-site
Serving just the markdown as plaintext to e.g. Lynx is straightforward.
Discussion here:
https://caddy.community/t/markdown-support-in-v2/6984/12