mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
remove quotes around inline code snippets
This commit is contained in:
parent
62fdba0600
commit
70695daae8
@ -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')],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user