markdown - Not able to load images on Github pages Blog post -
i wanted publish blog post, contains plot. able view , load image in markdown, when try publish on github pages, can see except plot. here github repo blog , here markdown file wish post online.
in above post trying display image with: ![](dv_files/figure-html/unnamed-chunk-2-1.png)
having image located @ _posts/dv_files/figure-html/unnamed-chunk-2-1.png
.
create folder hold posts images @ root level
mkdir images
move directory structure containing images above folder
mv _posts/dv_files/ images/
use new path , use
absolute_url
generate full url![]({{"/images/dv_files/figure-html/unnamed-chunk-2-1.png"|absolute_url}})
now images appear in post.
Comments
Post a Comment