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

Local image are not rendered #215

Open
2 tasks done
araqiel2552 opened this issue Mar 4, 2025 · 2 comments
Open
2 tasks done

Local image are not rendered #215

araqiel2552 opened this issue Mar 4, 2025 · 2 comments

Comments

@araqiel2552
Copy link

araqiel2552 commented Mar 4, 2025

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

Describe the bug

Images do not work in .md files. Local images are not displayed.
The issue appear on local reference image. If the URL of the image not starts with http.
This bug appear only with relative URL. With complete URL with image hosted, it's working.

I put this image in this section :

Image

Image

The render create correctly the file:

Image

But on the render page nothing appear and the section is empty.

Image

Whereas the file exist:

Image

Could you please fix this?

Expected behavior

Images are displayed as per the markdown specs.

Screenshots

No response

Environment

- OS:Windows 11
- Browser: Firefox
- Browser Version: 128.7.0esr (32-bit)

Same with Edge and Chrome.
@MirKml
Copy link

MirKml commented Mar 14, 2025

Confirmed - only markdown with full url works. In development mode
![image](http://localhost:1313/images/test.png) works but ![image](/images/test.png) doesn't work.
It's serious problem I think. No html <img /> tag is rendered at all.

Can you fix it please?

@deimosfr
Copy link

deimosfr commented Apr 9, 2025

Hi, I've fixed the issue, pending merge: #221

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

No branches or pull requests

3 participants