tailwind-highlight
v1.0.0
Published
code highlighting with tailwindcss, work with @tailwindcss/typography
Downloads
6
Maintainers
Readme
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')
// ...
],
}