markdown 设置图片尺寸(适用于 CSDN、github)

版权声明:本文为博主原创文章,转载请附上本文链接地址。from : https://blog.csdn.net/lovechris00 https://blog.csdn.net/lovechris00/article/details/82379382


使用 ![imgName]() 显示原始图片

这里写图片描述


代码:

![这里写图片描述](https://img-blog.csdn.net/20180904102458446?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2xvdmVjaHJpczAw/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70)
***

使用 html 显示设定尺寸图片

Sample

图片示例2


代码:

<p align="center">
    <img src="https://img-blog.csdn.net/20180904102458446?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2xvdmVjaHJpczAw/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70" alt="Sample"  width="250" height="140">
    <p align="center">
        <em>图片示例2</em>
    </p>
</p>

温馨提示:对 github,CSDN 有效;对简书无效。
对本机markdown 软件 typora 无效。其他软件没试过。


更多html 图片相关设置可见:
http://www.runoob.com/html/html-images.html


猜你喜欢

转载自blog.csdn.net/lovechris00/article/details/82379382
今日推荐