Hello there @hqgu . Let me know if this snippet works:
img {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
.markdown-source-view.mod-cm6 .cm-content > * {
margin: auto auto !important;
}
This should center images, embeds automagically!