How to allow upload any type file

My version of HedgeDoc is: 1.9.8

I want to know how to upload file not only img type ?

That’s not possible. You can only upload images within hedgedoc. If you need other file types you need to upload them somewhere else and link them.

got it

because I use minio as my backend storage
it’s can support any type file
I hope can add this feature in the future

Just a PSA: there’s a issue for this particular feature request on github: Add the feature to upload, add and link attachments/files · Issue #3937 · hedgedoc/hedgedoc · GitHub