mystmd icon indicating copy to clipboard operation
mystmd copied to clipboard

Not respecting figure dimensions

Open roaldarbol opened this issue 1 year ago • 2 comments

Description

If width is not specified, it seems that images are expanded to fill the width of the page (HTML). Possibly get something like :autowidth: which defaults to true (current behaviour), and if set to false the width is set to the original width of the figure? Or maybe default should be to respect figure size?

Proposed solution

Having a way to specify that the image should have the actual size would be great.

Additional notes

You could also set :width: for each image, but that seems a lot of work.

Currently on myst v1.2.5.

roaldarbol avatar Jun 05 '24 13:06 roaldarbol