yhatt / marp

The site of classic Markdown presentation writer app
https://yhatt.github.io/marp/
MIT License
7.89k stars 398 forks source link

[Feature Request] Zoom in image with specifed scale #244

Closed kelein closed 6 years ago

kelein commented 6 years ago

I am using Marp mostly frequenctly. What makes me confused is that such cmd like [80%](some.png) can zoom out the image, but cmd like [130%](some.png) will not zoom in the image.

I hope that will be effective. 🙏

yhatt commented 6 years ago

Actually the inline image can zoom-in now. I guess that is came from the restriction to prevent sticking out from slide.

In a current Marp, you can try this:

<style>
img {
  max-width: none !important;
}
</style>

![200%](image.png)

NOTE: In Marp Next, the inline image cannot scale by percentage because of supporting cross-browsers. It would use absolute width or height instead. See marp-team/marpit#62.