diff --git a/src/layouts/PostSingle.astro b/src/layouts/PostSingle.astro
index 66d66bfaf..1ef057c4b 100755
--- a/src/layouts/PostSingle.astro
+++ b/src/layouts/PostSingle.astro
@@ -74,7 +74,7 @@ const { title, description, author, categories, image, date, tags } = post.data;
{dateFormat(date)}
-
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 04004f53a..c711d4382 100755
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,4 +1,5 @@
const theme = require("./src/config/theme.json");
+const plugin = require("tailwindcss/plugin");
let font_base = Number(theme.fonts.font_size.base.replace("px", ""));
let font_scale = Number(theme.fonts.font_size.scale);
@@ -90,5 +91,11 @@ module.exports = {
5: "3rem",
},
}),
+ plugin(function ({ addVariant }) {
+ addVariant(
+ "prose-inline-code",
+ '&.prose :where(:not(pre)>code):not(:where([class~="not-prose"] *))',
+ );
+ }),
],
};