How to adjust image dimensions in GitHub wiki pages with Markdown

I’m working on creating documentation in a GitHub wiki and running into an issue with image sizing. I have a photo stored in another repository that I want to include, but it’s way too big for the page layout.

I’ve been trying various markdown approaches to scale it down but nothing seems to work:

![screenshot](https://example.com/my-image.jpg "Screenshot" {width=100px height=200px})

![screenshot](https://example.com/my-image.jpg = 300x300)

![screenshot](https://example.com/my-image.jpg = 150x)

[[https://example.com/my-image.jpg = 200x]]

Does anyone know the correct syntax for this? I’d really prefer to stick with pure markdown instead of mixing in HTML tags if possible.

Unfortunately, standard Markdown doesn’t support image resizing - it’s a limitation you’ll hit. GitHub’s Markdown for wikis is strict and won’t recognize those width/height attributes you’re trying to use. I hit the same wall documenting my projects last year. The best workaround? Resize your images before uploading. I use ImageMagick or basic editing software to get the right dimensions first. You could also make multiple versions at different sizes and link the right one. Not the pure Markdown solution you wanted, but way more reliable than HTML tags that won’t render consistently.