New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to support @tailwindcss/typography's prose? #726
Comments
Looks like it's an issue with a regex in
|
So the reason this fails is that it tries to clean up and remove classes that it may have inlined, but actually those classes have not really been inlined by the CSS inliner (it can't inline them). A solution would be to disable // config.production.js
module.exports = {
// ...,
removeInlinedClasses: false,
} This will prevent Maizzle from trying to remove classes that have been inlined and will preserve the prose classes. However, keep in mind that the typography plugin is made for the web, and will not work consistently in email, because it uses advanced CSS selectors and CSS variables that not all email clients support. |
OK, this should work now in v4.1.2, give it a try :) |
Thank you cossssmin! |
I'm having a hard time getting
.prose
working with[@tailwindcss/typography](https://tailwindcss.com/docs/typography-plugin)
.I figured you just need
require('@tailwindcss/typography')
in your tailwind configplugins
, but when I runmaizzle build
I get the following error:The text was updated successfully, but these errors were encountered: