remove quotes around inline code snippets

This commit is contained in:
Felix Roos 2023-01-07 22:12:53 +01:00
parent 62fdba0600
commit 70695daae8

View File

@ -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', // dont wrap code in backticks
},
'code::after': {
content: 'none',
},
},
},
};
},
},
},
plugins: [require('@tailwindcss/typography')],