markdown_图片并排的方案

references

html方案

  • 效果不够理想/不够稳定
  • 依赖于html属性调制
  • 多个<img>间不要使用的换行
<img src="https://raw.githubusercontent.com/xuchaoxin1375/pictures/main/imagesimage-20220611203203763.png" width="280"/><img src="https://raw.githubusercontent.com/xuchaoxin1375/pictures/main/imagesimage-20220611203203763.png" width="200" />

table 方案(较为通用)

注意,使用表格方案的时候,不要又多余的换行!

  • 演示源代码
| p1(optional) | p2(optional |
|--|--|
| ![p1](https://i-blog.csdnimg.cn/blog_migrate/8e2a502873c8b0f5e031e25b528c4ca0.png) | ![p2](https://i-blog.csdnimg.cn/blog_migrate/8e2a502873c8b0f5e031e25b528c4ca0.png) |

效果(by table)

p1(optional)p2(optional
在这里插入图片描述在这里插入图片描述

typora编辑器的渲染

在这里插入图片描述

  • typora下设置的演示源码
  • 主要利用html属性来设置

<img src="https://raw.githubusercontent.com/xuchaoxin1375/pictures/main/imagesimage-20220611203213594.png" alt="image-20220611203213594" style="zoom: 80%;" /><img src="https://raw.githubusercontent.com/xuchaoxin1375/pictures/main/imagesimage-20220611203236335.png" alt="image-20220611203236335" style="zoom:80%;" />![image-20220611203203763](https://raw.githubusercontent.com/xuchaoxin1375/pictures/main/imagesimage-20220611203203763.png)

在这里插入图片描述

posted @   xuchaoxin1375  阅读(10)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示