This is another one of those posts that I wrote for only one purpose: Making something a little easier on someone else who may have to do the same thing.
First, I will credit my ultimate source. Thanks Daniel for your post. I was able to read it and find the piece I needed in the middle.
Here is the simple ‘How to’ part:
- Create your markdown document in the usual way using the usual .md file
- Choose where you want your image.
- insert this:
\centering
{width=99in}
\raggedright
\flushleft
4. Change the ‘name-of-my-image-file.png’ to whatever your image file is. Make sure this file is in the same place as your .md file. Note! You can also replace that with a link to your image instead of an image on your local machine.
5. change the ’99’ in the width to however many inches you want it.
6. run your pandoc
command the same way you normally do on the .md file.
You should now have your image file in your PDF at the size you’d like
If you have any ‘latex errors’ you might need to read this post of mine.
Hope this helps.