Experiments >

Highlighting additions & removals

Experiment #628th February, 2021by Joshua Nussbaum

Expanding on experiment #4. This adds the abilty to remove code or add code. It also highlights removals red, and additions green for a few ms before and after the change.

Here’s the code:

joshnuss/svelte-codemirror-test@2e5afba

Here’s what it looks like:

animation

view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow