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.

  1. create folder hold posts images @ root level

    mkdir images 
  2. move directory structure containing images above folder

    mv _posts/dv_files/ images/ 
  3. 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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -