marktext icon indicating copy to clipboard operation
marktext copied to clipboard

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

Open LeeHolmes opened this issue 2 years ago • 0 comments

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.

LeeHolmes avatar Jan 20 '24 02:01 LeeHolmes