mdanki icon indicating copy to clipboard operation
mdanki copied to clipboard

Images in markdown - Path with spaces

Open eyssette opened this issue 3 years ago • 0 comments

When the filename of an image contains spaces, mdanki doesn't recognize the file. A solution would be to use "%20" in the link and decodeUriComponent in MediaParser

data = fs.readFileSync(decodeURIComponent(filePath));

eyssette avatar Sep 03 '22 22:09 eyssette