From a43b3fdac77266dfb494e8a28e466f7d481746f6 Mon Sep 17 00:00:00 2001 From: Jamie <38860802+c0nf1den71al@users.noreply.github.com> Date: Sun, 7 May 2023 16:25:46 +0100 Subject: [PATCH] Stop back-ticks showing inside of in-line code styles (#10) * Fix backticks in codeblocks * Fix backticks in codeblocks --- tailwind.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index bdbcae4..68cd2e3 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -11,6 +11,16 @@ module.exports = { theme: { extend: { typography: { + DEFAULT: { + css: { + 'code::before': { + content: '""' + }, + 'code::after': { + content: '""' + }, + }, + }, quoteless: { css: { "blockquote p:first-of-type::before": { content: "none" }, @@ -92,7 +102,7 @@ module.exports = { }, }, }, - }, + } }, plugins: [ require("@tailwindcss/typography"),