marpit
marpit copied to clipboard
Enable resizing inline image by percentage
Percentage value such as
width:100%
was not supported caused by a special case of in-place DOM update in Firefox (#62). But certainly I think percentage should be enabled in an inline image too.
Originally posted by @yhatt in https://github.com/marp-team/marpit/issues/192#issuecomment-533550385
I'd like to second this, since I find it the most missing feature of marp. Which is awesome tool btw, thanks for it !
I have not been able to verbalize why Marpit does not support image resize by percentage. Now https://github.com/marp-team/marp/discussions/167#discussioncomment-1352712 is pointing out a strange and counterintuitive rendering caused by resizing by percentage value(s).
https://user-images.githubusercontent.com/3993388/133917172-d703db8f-d217-4923-ac89-c283b0fa5e2d.mov