remove quotes around inline code snippets
This commit is contained in:
parent
62fdba0600
commit
70695daae8
1 changed files with 17 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
|
||||||
|
const defaultTheme = require('tailwindcss/defaultTheme');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
|
||||||
theme: {
|
theme: {
|
||||||
|
|
@ -17,6 +20,20 @@ module.exports = {
|
||||||
// header: 'transparent',
|
// header: 'transparent',
|
||||||
footer: '#00000050',
|
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')],
|
plugins: [require('@tailwindcss/typography')],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue