I have these hooks enabled on many of my projects, but for some reason forgot them here which led to the issue described in https://github.com/zoni/obsidian-export/pull/181 This should help prevent that from happening again.
This will ensure SVG files are included as an image when using `![[foo.svg]]` syntax, as opposed to only being linked to.