- Convert the pdf document in image
- Install the software
sudo apt update sudo apt install poppler-utils
- Convert the pdf
pdftoppm -png input.pdf output_prefix
- Replace
input.pdf
with the path to your PDF file. - Replace
output_prefix
with a prefix for the output PNG files. For example, if you usepage
, the output files will be namedpage-1.png
,page-2.png
, etc.
- Replace
- Install the software
- Upload images somewhere
- Prepare Markdown code
For example:
         
- Create a collapsible part in the readme document
For example:
<details> <summary> ## ๐ Click here to view the document ๐ </summary>           </details>
Created
April 11, 2025 14:20
-
-
Save R0mb0/3aeeccfb141bdb85737eb820c03c36a6 to your computer and use it in GitHub Desktop.
My way to "embed" pdfs inside a GitHub Markdown Readme documents, is not perfect but is better than nothing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment