Resize the image in jupyter notebook using markdown

后端 未结 5 2157
逝去的感伤
逝去的感伤 2020-12-07 21:37

I want to add the image in the Jupyter notebook and I want to have particular height and width. When I try to add the image using

![](img.png)

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 22:22

    You need to use HTML as Mark showed you, since you cannot do it with ![](img.png) syntax. From John Gruber's website:

    As of this writing, Markdown has no syntax for specifying the dimensions of an image; if this is important to you, you can simply use regular HTML tags.

提交回复
热议问题