Your sites Log in Sign up Menu

Specify the width of a markdown image?

I'd like to change the size of an image in one of my posts. Can I use the following syntax from Jekyll?

![Caption](/path/to/_image.jpeg){width="250"}

a few seconds ago, 2 replies   markdown   images   Improve this question

Yes, this syntax is supported by Blot's markdown converter.

You can also use % values in the parameter, like this:

![Caption](/path/to/_image.jpeg){width="80%"}
Answered a month ago · Improve this answer

a relative width specification sounds like Pandoc.. is there an option on a template side to pass the explicit width and height to all of the image elements? then maybe we can use metadata to store the size data

Answered a few seconds ago · Improve this answer