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
1212</article >
1313```
1414
15- ## Usage
15+ ## Installation
16+
1617
1718Install the plugin from npm:
1819
@@ -39,6 +40,29 @@ module.exports = {
3940}
4041```
4142
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+
4266Now you can use the ` prose ` classes to add sensible typography styles to any vanilla HTML:
4367
4468``` html
You can’t perform that action at this time.
0 commit comments