Skip to content
This repository was archived by the owner on Sep 16, 2019. It is now read-only.

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

Closed
kelein opened this issue Oct 11, 2018 · 1 comment
Closed

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

kelein opened this issue Oct 11, 2018 · 1 comment
Labels
Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future.

Comments

@kelein
Copy link

kelein commented Oct 11, 2018

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
Copy link
Owner

yhatt commented Oct 11, 2018

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.

@yhatt yhatt added the invalid label Oct 14, 2018
@yhatt yhatt closed this as completed Oct 15, 2018
@yhatt yhatt added Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future. and removed invalid labels Oct 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Supports in Marp Next The tagged issue has/would resolved in repos on @marp-team, and might close in near future.
Projects
None yet
Development

No branches or pull requests

2 participants