user3732793
user3732793

Reputation: 1959

Markdown for Image resizing not working as recommanded

This little example mentioned many times for propper markdown to rzise images

![Kitten](/media/kitten.jpg){ width=50% }

However it does not rezise the image and shows what is in the curly braces

enter image description here

as in here. Any hint how to propper format markdown

Upvotes: 0

Views: 324

Answers (1)

Marc
Marc

Reputation: 2410

The markdown syntax stated in your question happens to work only for specific flavours of markdown.

I tested it OK in R Markdown / R Pandoc. However, it does not work in JupyterLab or VS Code.

What does work there is:

<div><img src="https://www.nasa.gov/images/content/365640main_PIA11141_full.jpg" width="50%"/></div>

I just tested it OK in a JupyterLab markdown cell.

Upvotes: 1

Related Questions