I have a site that uses the markdown directive and I would like to migrate away from that. I would like to generate all of the pages as HTML so that I will have those. Before Caddy 0.9 there was a way to statically generate the pages, but there is not any more.
How does one then migrate away from markdown? Is crawling the only possibility?
Hugo doesn’t generate the exact same HTML that caddy’s markdown does. Does Caddy store the HTML in a temp folder or something so I can start the server and then copy the HTML it generates or something?
It might be easiest to just add a ioutil.WriteFile() call into Caddy’s markdown rendering code, if you need Caddy to render it… no, markdown is served from memory I’m pretty sure.