Set image dimensions using markdown
post by Alex Flint (alexflint) · 2020-06-17T12:37:54.198Z · LW · GW · 3 commentsContents
3 comments
When embedding an image using the markdown editor, is it possible to specify the image dimensions? It seems that both of these do not work:
Inline HTML:
<img src="https://i.imgur.com/25Magmb.png" width="123" height="123">
Some markdown variant I found on stackoverflow:
![alt text](https://i.imgur.com/25Magmb.png =123x123)
3 comments
Comments sorted by top scores.
comment by Gordon Seidoh Worley (gworley) · 2020-06-17T17:01:28.409Z · LW(p) · GW(p)
I've been similarly frustrated trying to get images to scale on LW, so looking forward to an answer (although maybe the new editor just eliminates this problem, outside using markdown?).
Replies from: Raemon↑ comment by Raemon · 2020-06-17T18:20:36.384Z · LW(p) · GW(p)
In draft-JS (the old wysiwig editor) you should be able to scale images via dragging the corner (same for the new editor).
I'm not sure offhand about markdown. It sounds like our markdown plugin doesn't support the common markdown image scaling syntax. We'll look into it, but it my be awhile since we have to fit it in with other priorities.
Replies from: riceissa↑ comment by riceissa · 2021-08-20T20:25:54.971Z · LW(p) · GW(p)
I am also running into this problem now with the Markdown editor. I switched over from the new rich editor because that one didn't support footnotes, whereas the Markdown one does. It seems like there is no editor that can both scale images and do footnotes, which is frustrating.
Edit: I ended up going with the rich editor despite broken footnotes since that seemed like the less bad of the two problems.