We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prose-code
0.5.9
18.18.0
Chrome
macOS
tailwindlabs/tailwindcss#12496
With Adam's permission, opening an issue here!
The prose-code:{utility} modifiers affect both inline code elements and code elements wrapped in pre as well.
prose-code:{utility}
code
pre
I don't know what the right API design is, but here's the variant I added:
plugins: [ require('@tailwindcss/typography'), plugin(function ({addVariant}) { addVariant('prose-inline-code', '&.prose :where(:not(pre)>code):not(:where([class~="not-prose"] *))'); }) ],
I kinda think prose-code should hit inline code blocks only, but that seems like a breaking change? I dunno, up to y'all!
Godspeed
The text was updated successfully, but these errors were encountered:
Add prose-inline-code element modifier (tailwindlabs#329)
prose-inline-code
6464163
* Add `prose-inline-code` element modifier (add selector, update readme and tests).
thecrypticace
No branches or pull requests
What version of @tailwindcss/typography are you using?
0.5.9
What version of Node.js are you using?
18.18.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
tailwindlabs/tailwindcss#12496
Describe your issue
With Adam's permission, opening an issue here!
The
prose-code:{utility}
modifiers affect both inlinecode
elements andcode
elements wrapped inpre
as well.I don't know what the right API design is, but here's the variant I added:
I kinda think
prose-code
should hit inline code blocks only, but that seems like a breaking change? I dunno, up to y'all!Godspeed
The text was updated successfully, but these errors were encountered: