Skip to content

How to get list of additions, removals, and commonalities from two texts? #2

Open
@seaneagan

Description

@seaneagan

I'm trying to do something like the color demos from:

https://github.com/kpdecker/jsdiff

Basically I need to get an API which returns a List of parts, where each part exposes its text content and whether it was an addition, removal, or commonality. Is that already possible with this package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions