obsidian-markdown-export-plugin icon indicating copy to clipboard operation
obsidian-markdown-export-plugin copied to clipboard

Wrong reference format for custom file path

Open ganyunhee opened this issue 2 years ago • 3 comments

Issue

Plugin collects images properly onto default attachment folder and refers to them in the form of attachment/image_name.png But with a custom file path like posts/posts_images, instead of forward slash (/) it adds backslash (\) after the first forward slash thereby creating incorrect image reference.

Settings Preview:

file_path

Created markdown file Preview:

wrong_referral

Longer custom file path

image

ganyunhee avatar Aug 03 '23 15:08 ganyunhee

@ganyunhee windows?

bingryan avatar Aug 05 '23 15:08 bingryan

Yes. Windows 11. Specifically, Education version 22H2. Sorry for the late reply. Let me know if you need more details.

ganyunhee avatar Aug 17 '23 17:08 ganyunhee

@ganyunhee If yours is windows, you should use the path below windows(posts\posts_images), BTW, you can use default value: attachment

bingryan avatar Sep 26 '23 03:09 bingryan