Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong reference format for custom file path #49

Open
ganyunhee opened this issue Aug 3, 2023 · 3 comments
Open

Wrong reference format for custom file path #49

ganyunhee opened this issue Aug 3, 2023 · 3 comments
Labels

Comments

@ganyunhee
Copy link

ganyunhee commented Aug 3, 2023

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 ganyunhee changed the title Wrong format for custom file path Wrong referrence format for custom file path Aug 3, 2023
@ganyunhee ganyunhee changed the title Wrong referrence format for custom file path Wrong reference format for custom file path Aug 3, 2023
@bingryan
Copy link
Owner

bingryan commented Aug 5, 2023

@ganyunhee windows?

@ganyunhee
Copy link
Author

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

@bingryan
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants