On rare occasions I want to upload a file that isn’t a PDF, image or video. Today I wanted to upload a markdown file and link to it for folks to download. It seemed to acquire an URL that ended with .jpg. I ended up putting the content in the body of my post, which would be my normal preference (for usability etc) but for various reasons I didn’t want to do that with this file.
So, what formats are allowed? Could that be extended or is there a concern about malicious actors?
I don’t know which formats are allowed, unfortunately, but I can share a workaround. If you have a custom theme set up, you can create a new template*, name it accordingly, and make sure to put it in the static directory. Something like this: