我用的是github样式 直接在github.css的末尾加上以下代码即可,使用其他样式同理 p .md-image:only-child{ width: auto; text-align: left; }