1.0.0 • Published 11 months ago

tailwind-highlight v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

tailwind-highlight

This is a plugin that adds code highlighting to @tailwindcss/typography.

Install

npm install -D tailwind-highlight

Then add the plugin to your tailwind.config.js file:

/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('@tailwindcss/typography'),
    require('tailwind-highlight')
    // ...
  ],
}