Setting up for inserting or embedding links

Now, by default, all files inserted into the text by dragging are embedded through links like ![[file name]].
This is not always convenient, especially if long pdf files are inserted. At the same time, it is necessary to manually delete ! from the links.
I would like to have an option in the settings that would allow to switch the type of link - embedded or inserted (![[file name]] or [[file name]]).