markdown默认的图片位置是靠左,先上一张图片,这个你们都会html
![description](https://xxxxx)
来张卡妹的图~web
我的很是喜欢typora,平时写markdown也是在typora写好再弄到csdn发表的,此次图片居中搞得我有点烦,后来通过验证,如下方法能够在typora使用markdown
使用HTML标签进行居中svg
center能够用于图片,也能够用于文字~spa
其中img的width填个像素就会按比例缩放,本人HTML比较菜,因此没有过多研究,能用就行code
<center> <img src="https://xxxx" width="400"> <center>最爱卡妹</center> </center>
代码见上面Typora部分xml
![description](https://xxxxx#pic_center)
![description](https://xxxxx#pic_center =400x400)
![description](https://xxxxx#pic_center =400x)
好比卡妹这张图,就能够用第三个来试试htm