Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding PDF plot inside README.md on github

I am writing my analysis report on GitHub using the README.md page.

I was successfully able to create tables and add necessary text to the page, but couldn't find a way to actually display my PDF plots inside the README.

My plots are inside my git repo, has anyone tried doing something similar before?

like image 226
Mdhale Avatar asked Mar 14 '26 10:03

Mdhale


1 Answers

By PDF plot, I assume you mean Probability density function plots, not the Adobe Portable Document Format.

You cannot render pdf plots directly in a README. The workaround for now is to render it as an image (png for instance) and include that image in the README.md markdown file, using a relative link.

like image 97
VonC Avatar answered Mar 16 '26 14:03

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!