Custom markdown extension

I have files that are written in markdown, but they have a *.foo extension. The different extension is necessary, because the files are used by another application that expects this. I was wondering if Hugo could be configured to recognize*.foo files as markdown and render them as such. Thanks for the help!

The extensions that Hugo uses to identify the content type are hardcoded. I’m not aware of a way to extend the extension list nor does the code provide any hints to do that.

@digitalcraftsman is right. I would think it would be easy to adapt “that other application”

That’s too bad. Thanks for the help though!