rnabioco / bmsc-7810-pbda

BMSC 7810: Practical biological data analysis with R/RStudio
https://rnabioco.github.io/bmsc-7810-pbda/
1 stars 1 forks source link

image URLs via markdown #8

Open kriemo opened 9 months ago

kriemo commented 9 months ago

The knitr::include_graphics() function doesn’t seem to be working correctly on windows when loading from URL. Use the following markdown syntax instead.

![text caption](URL)
MLKaufman commented 9 months ago

Using the following in the markdown sections also works and allows overriding of the css styling to allow custom parameters like width and height:

<img src="https://github.com/rnabioco/bmsc-7810-pbda/blob/main/_posts/2022-11-17-class-4-intro-to-ggplot2/img/ggplot2.png?raw=true" style="width: 300px;">