标签:影响 云技术 基础用法 技术 baidu 编辑器 图片展示 ima vat
插图最基础的格式就是:

只需要在基础语法的括号中填入图片的位置路径即可,支持绝对路径和相对路径。
例如:

只需要在基础语法的括号中填入图片的网络链接即可,现在已经有很多免费/收费图床和方便传图的小工具可选。
例如:

用base64转码工具把图片转成一段字符串,然后把字符串填到基础格式中链接的那个位置。
基础用法:

这个时候会发现插入的这一长串字符串会把整个文章分割开,非常影响编写文章时的体验。如果能够把大段的base64字符串放在文章末尾,然后在文章中通过一个id来调用,文章就不会被分割的这么乱了。
比如:
![avatar][doge]
[doge]:data:image/png;base64,iVBORw0......
然后,base64的图片编码如何得来?
图片展示区域
代码区域
[base64str]:data:image/png;base64,iVBORw0KGg...
感觉这么二笔的做法要把自己卡挂了,但有时候就得暴力一点,哈哈…
来源:华为云社区 作者:清风Python
标签:影响 云技术 基础用法 技术 baidu 编辑器 图片展示 ima vat
原文地址:https://www.cnblogs.com/huaweicloud/p/12017323.html