File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ A plugin that provides a set of `prose` classes you can use to add beautiful typ
14
14
15
15
## Usage
16
16
17
- Install the plugin from npm:
17
+
18
+ ** From npm:** Install the plugin from npm:
18
19
19
20
``` sh
20
21
# Using npm
@@ -39,6 +40,22 @@ module.exports = {
39
40
}
40
41
```
41
42
43
+ ** From CDN** : Add the following stylesheet link:
44
+
45
+ ``` html
46
+ <link rel =" stylesheet" href =" https://unpkg.com/@tailwindcss/typography@0.1.x/dist/typography.min.css" >
47
+ ```
48
+
49
+ If you're using the rest of Tailwind via CDN, here's the recommended usage:
50
+
51
+ ``` html
52
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@1.4.6/dist/base.min.css" >
53
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@1.4.6/dist/components.min.css" >
54
+ <link rel =" stylesheet" href =" https://unpkg.com/@tailwindcss/typography@0.1.x/dist/typography.min.css" >
55
+ <link rel =" stylesheet" href =" https://unpkg.com/tailwindcss@1.4.6/dist/utilities.min.css" >
56
+ ```
57
+
58
+
42
59
Now you can use the ` prose ` classes to add sensible typography styles to any vanilla HTML:
43
60
44
61
``` html
You can’t perform that action at this time.
0 commit comments