Skip to content

Commit

Permalink
Remove backticks around inline code fragments
Browse files Browse the repository at this point in the history
By default taiwind css surounds inline code with backticks. In
order to have a more GitHub-like experience, as suggested by
@MisterDA in #612 the
tailwind configuration needs to be changed as explained here:

tailwindlabs/tailwindcss-typography#18
  • Loading branch information
Cuihtlauac ALVARADO committed Nov 14, 2022
1 parent 10cba52 commit db94add
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ module.exports = {
darkMode: 'class',
theme: {
extend: {
typography: {
DEFAULT: {
css: {
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
}
}
},
maxWidth: {
'8xl': '90rem',
},
Expand Down

0 comments on commit db94add

Please sign in to comment.