loading code fetching the highlighted snippet
Start with two plain strings and let SvelteDiff own the comparison. Semantic cleanup makes the result readable while stable classes provide the styling hooks.
cleanupSemantic shifts edit boundaries toward readable words.