orbikm / mkdocs-ezlinks-plugin

Plugin for mkdocs which enables easier linking between pages
MIT License
34 stars 17 forks source link

source directory missing '\' on windows #24

Closed jmkloz closed 2 years ago

jmkloz commented 2 years ago

On windows, the src is missing the \ between the source directory shorthand

<img alt="image alt text" src="....\assets\images\image_20.png">

should be

<img alt="image alt text" src="..\..\assets\images\image_20.png">

Should probably also make these / instead, even on Windows

orbikm commented 2 years ago

Yeah, this should not be happening. I had fixed an issue where this was occurring previously, I may have accidentally caused a regression.

I'll do some digging on this soon. Thanks for reporting the issue!

orbikm commented 2 years ago

Hi @DrJMKatz,

I am afraid I can not easily reproduce your issue. Can you please either describe your setup (or a contrived case) that demonstrates this issue, or provide an example of a site that exhibits this behavior?

orbikm commented 2 years ago

Closing due to lack of information. If you have additional information for reproducing this bug, please feel free to re-open and I'll investigate.