Comments (3)
I did that for a bit but it's complicated with the animation because of the way the letters have to wrap. I eventually decided having the code progress on the screen was more important to cognitive load than the syntax highlighting.
from array-explorer.
Why is it complicated?
You should be able to wrap each character from each styled in an element and animate as before.
Or does SplitText ignore nested styles?
from array-explorer.
Yeah, splitText splits the spans and jacks up formatting. I can probably figure it out, it's just more time that I don't have right now. The highlighting is still in the package.json, so if you want a crack at it, I can open this issue up and accept a PR from you, but I don't personally have the time to implement it right now.
from array-explorer.
Related Issues (20)
- Immutable examples?
- Some sentences is not clear
- Error due to bumping webpack-dev-server from 2.11.3 to 3.1.11 HOT 1
- Install error 'Error: Cannot find module 'webpack-cli/bin/config-yargs' HOT 1
- add Persian language HOT 1
- typo bug HOT 1
- u are so beautify HOT 1
- Latest language details HOT 1
- Usage and Output animation is not visible HOT 2
- As a newbie who comes across this site, I would like to know which programming language is being used. HOT 2
- Possible typo in English version HOT 2
- Browser Support or ECMAScript Specification Warning HOT 1
- Change sort() example HOT 1
- let vs const as default, your opinion ? HOT 3
- Can you provide reverse operation HOT 1
- excuse me...what it's is? HOT 3
- reduceRight wrong example? HOT 3
- indexOf: fromIndex HOT 2
- incorrect URL to demo page HOT 1
- Cloning an array HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from array-explorer.