Open flayks opened 4 years ago
Would also love this, being able to add links too. I think Gsap splitText allows this. Example: https://codepen.io/GreenSock/pen/pEKYVz @CyriacBr do you think it could be a simple addition?
also would like to be able to add html elements
Hey @CyriacBr, I discovered your library recently and it's very good as Splitting is not very optimized for React and SSR use. The thing is tho, I would like to have some italics or text formatting in my string, and as I understand it, that makes it tricky. I tried to play with some kind of Markdown way to make a text italic, but as the Component splits every character, that simply doesn't work…
The desired effect would be something like that:
Any lead?
Page.jsx
SplitText.jsx