We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a34924b commit 5bb0e07Copy full SHA for 5bb0e07
README.md
@@ -347,3 +347,29 @@ module.exports = {
347
},
348
}
349
```
350
+
351
352
+### Changing the default class name
353
354
+If you need to use a class name other than `prose` for any reason, you can do so using the `className` option when registering the plugin:
355
356
+```js
357
+// tailwind.config.js
358
+module.exports = {
359
+ theme: {
360
+ // ...
361
+ },
362
+ plugins: [
363
+ require('@tailwindcss/typography')({
364
+ className: 'markdown',
365
+ }),
366
+ ]
367
+ ...
368
+}
369
+```
370
371
+```html
372
+<article class="markdown md:markdown-lg">
373
+ {{ markdown }}
374
+</article>
375
0 commit comments