HiDeoo / starlight-blog

Starlight plugin to add a blog to your documentation
https://starlight-blog-docs.vercel.app
MIT License
106 stars 9 forks source link

Display images in full-text RSS feed #45

Open sarah11918 opened 1 month ago

sarah11918 commented 1 month ago

Is your feature request related to a problem?

Sort of!

The RSS feed shows full-text in my feed reader (The Old Reader), but the images do not display. Instead, the alt-text is displayed.

image

Describe the solution you'd like

I would love it if the full text of my RSS feeds displayed any included images.

Describe alternatives you've considered

I have not tested other feed readers besides The Old Reader so I don't know how common this issue is among feed readers/client.

Additional Context

No response

HiDeoo commented 1 month ago

v0.8.1 includes a workaround for this issue by replacing images with a placeholder and a link to the original post containing the image.

I'm keeping this issue opened as I cannot properly fix it until some upstream changes are released, specifically thinking about the Astro Container API, and I definitely want to revisit this issue once it's possible to do so.

scottaw66 commented 1 month ago

If you're using sanitizeHtml, make sure to tell it to include the img tag. If not, please feel free to delete this comment.

CleanShot 2024-05-25 at 16 09 25@2x