miniBill/elm-diff/1.1.1

NOTE: the latest version is 1.1.2

Diff.ToString

Convert a diff to a string representation.

{ context : Int
, color : Bool
}
-> List (Change (List (Change Never Char)) String)
-> String

Converts a diff between strings into a pretty-printed, optionally colored, formatted diff.

context is the number of lines of context to show in the diff.