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
Hi Florian, great repo! I've been creating blog posts where images do show properly when viewed on its own, but failed to display in the RSS feed (displays as a black X).
I looked into this and noticed that the image path in the html and the MD file is rendered as something like: "https://martinctc.github.io/blog\images\brace-yourselves.png", where there seems to be something weird going on with the forward and back slashes when FormatPost() is run. The actual code I used in the RMD is as follows: knitr::include_graphics("../images/brace-yourselves.png")
I then manually replaced the strings "\images" with "/images/", which made the images display properly both on the website and on the RSS feed. Any idea if I was doing something wrong or is this a bug? Thank you ever so much!
The text was updated successfully, but these errors were encountered:
I'm not sure at all.
I don't really use it on windows and don't really look at the RSS feed.
So, there might be something to improve there.
I'm on vacation right know. Maybe you can look into it. The code is not that long. It might just be some normalizePath() missing somewhere to achieve what you need.
Thanks Florian! Apologies I've not had a chance to look at this yet. Main reason is because I'm submitting my blog to r-bloggers and wanted to make sure that the images and plots show up properly if/when they get on the r-bloggers website.
Hi Florian, great repo! I've been creating blog posts where images do show properly when viewed on its own, but failed to display in the RSS feed (displays as a black X).
I looked into this and noticed that the image path in the html and the MD file is rendered as something like: "https://martinctc.github.io/blog\images\brace-yourselves.png", where there seems to be something weird going on with the forward and back slashes when
FormatPost()
is run. The actual code I used in the RMD is as follows:knitr::include_graphics("../images/brace-yourselves.png")
I then manually replaced the strings "\images" with "/images/", which made the images display properly both on the website and on the RSS feed. Any idea if I was doing something wrong or is this a bug? Thank you ever so much!
The text was updated successfully, but these errors were encountered: