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

Support image paths that are different on the server than the local system #3750

Open
LeeHolmes opened this issue Jan 20, 2024 · 0 comments · May be fixed by #3751
Open

Support image paths that are different on the server than the local system #3750

LeeHolmes opened this issue Jan 20, 2024 · 0 comments · May be fixed by #3751

Comments

@LeeHolmes
Copy link

Describe your feature request

When you are using an engine like Hugo, it is common to have a local image path on your computer like "c:\hugo\static\images\hello.png" which then turns into an absolute image path like "/images/hello.png" when published. Marktext's current 'prefer relative image path' feature doesn't support this scenario.

A feature to 'Maintain server paths during editing and preview' would address this.

Additional context

This issue to be accompanied shortly by a PR that implements this feature.

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

Successfully merging a pull request may close this issue.

1 participant