File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ A plugin that provides a set of `prose` classes you can use to add beautiful typ
12
12
</article >
13
13
```
14
14
15
- ## Usage
15
+ ## Installation
16
+
16
17
17
18
Install the plugin from npm:
18
19
@@ -39,6 +40,29 @@ module.exports = {
39
40
}
40
41
```
41
42
43
+ ### Using a CDN
44
+
45
+ If you need to pull in these styles via CDN, you can do so using services like UNPKG or jsDeliver:
46
+
47
+ ``` html
48
+ <!-- From UNPKG -->
49
+ <link rel =" stylesheet" href =" https://unpkg.com/@tailwindcss/typography@0.2.x/dist/typography.min.css" >
50
+
51
+ <!-- From jsDelivr -->
52
+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/@tailwindcss/typography@0.2.x/dist/typography.min.css" >
53
+ ```
54
+
55
+ To use these styles alongside the rest of Tailwind via CDN, we recommend pulling in each layer separately so you can put the styles in the correct order:
56
+
57
+ ``` html
58
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@^1.5/dist/base.min.css" >
59
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@^1.5/dist/components.min.css" >
60
+ <link rel =" stylesheet" href =" https://unpkg.com/@tailwindcss/typography@0.2.x/dist/typography.min.css" >
61
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@^1.5/dist/utilities.min.css" >
62
+ ```
63
+
64
+ ## Usage
65
+
42
66
Now you can use the ` prose ` classes to add sensible typography styles to any vanilla HTML:
43
67
44
68
``` html
You can’t perform that action at this time.
0 commit comments