yhatt/marp

[Feature Request] Zoom in image with specifed scale

kelein opened this issue · 1 comments

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

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.