Home > Software engineering >  Resize Markdown image in flutter
Resize Markdown image in flutter

Time:03-04

I need to resize a local image from the assets folder in my markdown file.

I currently have this image that does display in my .md file.

enter image description here

I need to resize the image to make it a bit smaller.

Is it possible with the current package?

CodePudding user response:

You can use inline HTML <img/> with providing size.

<img src = "assets/images/image01.png" width="x" height="x" />

Or

[<img src ="assets/images/image01.png" width="100" height="x"/> ](assets/images/image01.png)

More and ref: Changing image size in Markdown

CodePudding user response:

<img src="drawing.jpg" alt="drawing" width="200"/>

This the github discussion on this, https://gist.github.com/uupaa/f77d2bcf4dc7a294d109

  • Related