diff --git a/src/styles/custom.css b/src/styles/custom.css index b8fa8009..8afdcb55 100644 --- a/src/styles/custom.css +++ b/src/styles/custom.css @@ -263,14 +263,32 @@ body { color: #faf9f6; } -/* Center all images in content by default (excluding those inside tables) */ -.sl-markdown-content :not(table) > img, -.sl-markdown-content p > img { +/* Center images in content by default. + + Covers every standard embed pattern used in the docs: + * standalone markdown images →
+ * link-wrapped images →