tameemsafi / typewriterjs

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

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

Open thdoan opened 1 year ago

thdoan commented 1 year 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 :-).