Use case or problem
when add a tranparent image or black background image, it difficult to tell the boarder of images
Proposed solution
support shadow or shadow to images
Current workaround (optional)
maybe like what gitlab does as in this link
add shadow to pics
Related feature requests (optional)
I use this CSS snippet:
.markdown-source-view.mod-cm6 .internal-embed > img,
.markdown-preview-view .internal-embed > img {
box-shadow: 0 28px 8px -26px rgba(0, 0, 0);
border:1px solid #ccc;
margin: 0.25rem 0.25rem 0.75rem 0.25rem;
}
oh thanks for the code, I’ll try it