The "/chat-download" page:
If the "render" URL parameter is provided, the blob has a size greater than zero, and blob meets one of the following conditions then the fossil-rendered form of that content is returned, rather than the original:
- Mimetype is text/x-markdown or text/markdown: emit HTML.
- Mimetype is text/x-fossil-wiki or P("name") ends with ".wiki": emit HTML.
- Mimetype is text/x-pikchr or P("name") ends with ".pikchr": emit image/svg+xml if rendering succeeds or text/html if rendering fails.