You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of this writing, Markdown has no syntax for specifying the dimensions of an image; if this is important to you, you can simply use regular HTML tags.
Looking around a bit, it looks like there are only a few markdown implementations that support a height/width within the markdown syntax for images, but they aren't standard across the board. IMO just support the height and width attributes of the img element, but force a max-height and max-width in the site CSS to prevent overflow.
I am -1 on height/width in markdown syntax images as it isn't standard.
I am +1 on height/width in HTML.
Markdown supports HTML within Markdown, so it shouldn't be too much of an issue for an author to use both if they absolutely need to.
After Markdown gets converted to HTML, it's passed through the same HTML filter as if you wrote HTML in the first place. I just added height/width on img to the whitelist, so if you can get Markdown to do height/width, now it'll be retained.
No description provided.
The text was updated successfully, but these errors were encountered: