Markdown图片设置方法

指定上传图片格式大小
<img src="pathname" width="100" height="200" />,其中widthheight后面的参数100 200为设置尺寸。


按窗口比例缩放 <img src="pathname" width="25%" height="50%" />其中widthheight后面的25% 50%就是根据窗口的大小以一定的比例缩放图片。


设置图片名及格式居中

<center>
<img src="pathname" width="xxx" height="xxx" />
Figure 1. imgname   //给图像加标注
</center>

posted on 2017-12-04 18:46  aipandeng  阅读(189)  评论(0)    收藏  举报

导航