Remove backticks around code when using the Tailwind CSS Typography plugin

Remove backticks around code when using the Tailwind CSS Typography plugin

When using the Tailwind CSS Typography plugin, you may want to remove the backticks around code. This is how you do it:

// tailwind.config.js

const defaultTheme = require('tailwindcss/defaultTheme')

module.exports = {
  theme: {
    extend: {
      typography(theme) {
        return {
          DEFAULT: {
            css: {
              'code::before': {
                content: 'none'
              },
              'code::after': {
                content: 'none'
              }
            }
          }
        }
      }
    }
  },
  plugins: [require('@tailwindcss/typography')]
}