css - How to link an image in markdown and also resize the image? -
i've been trying link image github's project readme, , used syntax link image:
[](https://www.youtube.com/youtube-id) and works. but, want resize image. somehow, can't manage resize , still make linkable- can please help?
thanks!
markdown not allow defining width on image. , markdown formatting syntax not processed within block-level html tags.
so, you'll need use regular <a> tag <img> tag, width attribute.
<a href="https://www.youtube.com/youtube-id"> <img src="https://placehold.it/350x350" width="200" /> </a>
Comments
Post a Comment