diff --git a/components/embeds/boxEmbed.tsx b/components/embeds/boxEmbed.tsx
index ca0bc83c0..1c18f6ac1 100644
--- a/components/embeds/boxEmbed.tsx
+++ b/components/embeds/boxEmbed.tsx
@@ -11,6 +11,12 @@ import { Figure, inlineFigureDefaultItem, inlineFigureFields } from "./figure";
import { imageEmbedTemplate } from "./imageEmbed";
import { youtubeEmbedTemplate } from "./youtubeEmbed";
+// Inline code inside greybox needs a white background to contrast with the gray container
+const greyboxMarkdownComponents = {
+ ...MarkdownComponentMapping,
+ code: (props: any) => ,
+};
+
function YakShaverIcon() {
return (