zhaoterryy / mkdocs-pdf-export-plugin

An MkDocs plugin to export content pages as PDF files
MIT License
318 stars 42 forks source link

Images do not scale based on attributes #19

Closed samrreynolds4 closed 5 years ago

samrreynolds4 commented 5 years ago

Hello,

I'm trying to scale images I place in index.md, but the width and height attributes seem to be ignored when exporting to a PDF.

I used <img src="img/pic.png" height=50%> and the html displays the scaled image, but the PDF only displays the non-scaled version of the image. Is there another way of scaling images that will be reflected in the pdf?

samrreynolds4 commented 5 years ago

My mistake, the img was not scaling well due to being inside a table.