-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem Statement
I would like to propose adding an option to streamdown to specify a Tailwind CSS prefix.
This prefix would then be applied to all internal Tailwind classes that streamdown uses for its built-in typography and component styling and dark mode display of code blocks.
For example, if I use prefix(tw), all rendered elements by streamdown that would normally have:
flex would instead be rendered with tw:flex
This would allow streamdown's output to seamlessly integrate with a project's existing prefixed Tailwind setup.
Proposed Solution
@source "../node_modules/streamdown/dist/index.js" prefix(tw);Alternatives Considered
No response
Use Case
@source "../node_modules/streamdown/dist/index.js" prefix(tw);Priority
Important
Contribution
- I am willing to help implement this feature
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request