visual-dom-diff
visual-dom-diff copied to clipboard
Highlight differences between two DOM trees.
I needed to be able to specify multiple custom class names. This PR modifies an existing test to cover src/util.ts:314. It also adds a new test to cover multiple custom...
I needed a way to ignore attributes because I’m diffing markdown-generated html. Some markdown libraries assign ids to headings based on content. For example: ```md # heading ``` Will generate:...
https://teamwork.github.io/visual-dom-diff/ Original content: ```html An unordered list. An ordered list. Some common text. Some common text. Some common text. ``` Changed content: ```html An ordered list. An added paragraph.Some common...