-
Notifications
You must be signed in to change notification settings - Fork 27
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
Inline styling for text #18
Comments
Thanks for writing up this issue. It should support nesting |
There's currently no special handling for nested |
Thanks for the follow up, Taylor! |
@nsdub I have a fix in progress, should get to complete it and publish a new version sometime this week. |
@TaylorBriggs Awesome, thanks for taking the time! |
@nsdub v0.6.0 is published to add support for nested |
Thanks for the update here @TaylorBriggs! I've been playing around with the updated package and I'm noticing that a limitation seems to be that the nested Illustration using the automated test from the last release. This works as expected:
This does not:
Nor does any combination of throwing 'Hello' or 'This is TypeWriter' into |
Thanks for writing this up @nsdub. I'm looking into it and will publish a fix once I figure it out. |
Is there a way to style a segment of text within a
Typewriter
tag? For example, let's say we want to change the color of a word within a string that's being 'typed' out.Typically this would be handled by nesting
Text
tags, but it seems like the Typewriter tag doesn't want to be nested.This is the nearest I've gotten to the desired behavior, but the code looks obviously wrong. The resultant behavior here is that 'Normal text' types out, and 'Funky text' is rendered outright:
The above snippet also throws the following warning:
Any ideas on how to accomplish this?
The text was updated successfully, but these errors were encountered: