You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Just figured out how that would work.
The issue I had, was, that I was not putting the ending / in the link for that article: sub instead of sub/, which then of course was leading to the wrong base path for the sub-resource URL.
Sorry for the disturbance.
Sorry again, but now I figured out, that the trailing / in the link is by default stripped from the href attribute somewhere, so it would be great, if you could keep those trailing slashes so we could also use sub-resource urls for images or also deliver images the same way as you deliver articles because there it is not an issue when the trailing / is missing...
Link Markdown
[sub](sub/)
resulting HTML
<ahref="sub/">sub</a>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would be great, if you could put images you'd like to refer to in an article right inside the folder where the file for the article is and then refer to it with a sub-resource URL as described here under "Relative URLs": https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_is_a_URL#examples_of_relative_urls
You already support such Routes for links to other articles, but not for images, so it would also be consistent.
File Structure:
image markdown:
The text was updated successfully, but these errors were encountered: