From eeec4a84eb4e4d18a768c886f3be393f7ef948a3 Mon Sep 17 00:00:00 2001 From: Craig Morris Date: Thu, 27 Mar 2025 11:13:44 +1100 Subject: [PATCH 1/5] Include link to v3 installation instructions Helpful for us on older projects and installing this plugin. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ac2ac64..abda4c4 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,9 @@ Then add the plugin to your main `style.css` file: + @plugin "@tailwindcss/typography"; ``` +> [!NOTE] +> [Tailwind v3 installation instructions](https://github.com/tailwindlabs/tailwindcss-typography/blob/d1e6421d4c07c15b3e1db6b6b10549df96fb129d/README.md) + --- ## Basic usage From 976b084672aaad2115f656b5deba217272761d99 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 20 Jun 2025 14:10:22 -0400 Subject: [PATCH 2/5] Add instructions instead of linking --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index abda4c4..ec73031 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,18 @@ Then add the plugin to your main `style.css` file: + @plugin "@tailwindcss/typography"; ``` -> [!NOTE] -> [Tailwind v3 installation instructions](https://github.com/tailwindlabs/tailwindcss-typography/blob/d1e6421d4c07c15b3e1db6b6b10549df96fb129d/README.md) +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'), + // ... + ], +} --- From ba569aa41eb943977143b499aaa7f877b83e76c9 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 20 Jun 2025 14:11:01 -0400 Subject: [PATCH 3/5] Update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec73031..8d8bb8b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ 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: +If you are still using **Tailwind CSS v3**, add the plugin to your tailwind.config.js file: // tailwind.config.js module.exports = { From c73abc254aa3910f6ba2ab6875d737228787a789 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 20 Jun 2025 14:11:40 -0400 Subject: [PATCH 4/5] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d8bb8b..94e60ac 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ 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: +If you are still using **Tailwind CSS v3**, add the plugin to your `tailwind.config.js` file: // tailwind.config.js module.exports = { From 439d6c194a42abd21fece63333adb7bdc858305d Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Fri, 20 Jun 2025 14:15:01 -0400 Subject: [PATCH 5/5] Add code fence blocks --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 94e60ac..174c09c 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Then add the plugin to your main `style.css` file: If you are still using **Tailwind CSS v3**, add the plugin to your `tailwind.config.js` file: +``` // tailwind.config.js module.exports = { theme: { @@ -45,6 +46,7 @@ module.exports = { // ... ], } +``` ---