The following worked for me (December 2024):

In this case, file.svg is in the same directory as the containing .md file.
An example: https://github.com/NadavAharoni/Oop_5785/blob/main/Module_004/csharp-boxing-unboxing.md