mirror of
https://github.com/hanzoai/tailwindcss-typography.git
synced 2026-09-24 17:03:19 +00:00
Include v3 installation instructions alongside v4 (#388)
* Include link to v3 installation instructions Helpful for us on older projects and installing this plugin. * Add instructions instead of linking * Update * update * Add code fence blocks --------- Co-authored-by: Jordan Pittman <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
Jordan Pittman
parent
8d1335f8de
commit
f2bd725efb
@@ -33,6 +33,21 @@ Then add the plugin to your main `style.css` file:
|
||||
+ @plugin "@tailwindcss/typography";
|
||||
```
|
||||
|
||||
If you are still using **Tailwind CSS v3**, add the plugin to your `tailwind.config.js` file:
|
||||
|
||||
```
|
||||
// tailwind.config.js
|
||||
module.exports = {
|
||||
theme: {
|
||||
// ...
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/typography'),
|
||||
// ...
|
||||
],
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Basic usage
|
||||
|
||||
Reference in New Issue
Block a user