MartinPacker / md2pptx

Markdown To PowerPoint converter
MIT License
226 stars 36 forks source link

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

Open MartinPacker opened 10 months ago

MartinPacker commented 10 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 10 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.