如何居中显示图片
Closed this issue · 3 comments
jingling2000 commented
不知道有没有图片居中显示功能
LuRenJiasWorld commented
最近确实了解到有一些扩展语法(如 Obsidian / Logseq 等)给图片加上排版能力,不过本插件目前只支持基础的 Markdown 语法:https://daringfireball.net/projects/markdown/。
LuRenJiasWorld commented
如果有居中的需求,有两个办法:
- 使用 WordPress 的自定义功能对图片新增居中的 CSS 样式
- 在本编辑器里使用
<img>
标签添加图片:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
wintertee commented
可以在图片前后添加html标签
<center>
![]()
</center>