tameemsafi / typewriterjs

A simple yet powerful native javascript plugin for a cool typewriter effect.
https://www.npmjs.com/package/typewriter-effect
MIT License
2.46k stars 220 forks source link

[Feature request] Add option to skip typing certain tags #209

Open thdoan opened 12 months ago

thdoan commented 12 months ago

Currently this package is not able to preserve the child nodes of some elements such as <table>. It would be nice to have the option to skip parsing these elements so that we won't end up with something like this:

<table>

Tables
Are
Cool

col 3 is
right-aligned
$1600

col 2 is
centered
$12

zebra stripes
are neat
$1

</table>

Of course, it would be even better if it works on tables :-).