MartinPacker / md2pptx

Markdown To PowerPoint converter
MIT License
206 stars 31 forks source link

In cards limit media dimensions to those of the card #154

Open MartinPacker opened 7 months ago

MartinPacker commented 7 months ago

Today graphics can be larger than the card. It would be desirable to scale them to eg the height of the card, minus some appropriate padding.

It might be appropriate to flag this override has happened - at the slide level.

MartinPacker commented 7 months ago

It could also be beneficial to have special values for cardGraphicSize that suggest it's the whole card size - in the appropriate dimension. For example scaling graphic width to the width of the card - for horizontal card layout.

I mention this here as it would be part of the original logic this issue calls for.