From 70695daae89c4611b3ecb5f9923eb1e945f7f144 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sat, 7 Jan 2023 22:12:53 +0100 Subject: [PATCH] remove quotes around inline code snippets --- website/tailwind.config.cjs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/website/tailwind.config.cjs b/website/tailwind.config.cjs index 52707838..7d263336 100644 --- a/website/tailwind.config.cjs +++ b/website/tailwind.config.cjs @@ -1,4 +1,7 @@ /** @type {import('tailwindcss').Config} */ + +const defaultTheme = require('tailwindcss/defaultTheme'); + module.exports = { content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], theme: { @@ -17,6 +20,20 @@ module.exports = { // header: 'transparent', footer: '#00000050', }, + typography(theme) { + return { + DEFAULT: { + css: { + 'code::before': { + content: 'none', // don’t wrap code in backticks + }, + 'code::after': { + content: 'none', + }, + }, + }, + }; + }, }, }, plugins: [require('@tailwindcss/typography')],