--default-image-extension is not compatible with pandoc-include
Another case that may be slightly rare, but I thought opening an issue about it could be useful. Thanks a lot!
The --default-image-extension=EXTENSION allows to:
Specify a default extension to use when image paths/URLs have no extension. This allows you to use the same source for formats that require different kinds of images. Currently this option only affects the Markdown and LaTeX readers.
So that, for example, the following test.md file:
My include loads a file:

will look for a test.png file and integrate it as an image if converted using
pandoc --default-image-extension=png test.md -o test.pdf
Unfortunately, if this test.md file is included using pandoc-include:
Here is my include:
!include test.md
then the output gives
[WARNING] Could not fetch resource test: replacing image with description
The pandoc option must either be applied "too late" or not applied at all, in any case it doesn't seem to interact correctly with pandoc-include.
Thanks a lot!