Class MarkdownDiffOutputGenerator

MarkdownDiffOutputGenerator class

Represents a class for generating markdown representation of texts differences. Because of the markdown syntax, it is not possible to show changes to whitespace characters. Selection of changes makes adding whitespace characters around formatting, otherwise markdown viewer will not correctly display the text. Deleted line breaks are indicated by - paragraph mark.

public class MarkdownDiffOutputGenerator : IFileOutputGenerator, IStringOutputGenerator

Constructors

NameDescription
MarkdownDiffOutputGenerator()The default constructor.

Methods

NameDescription
GenerateOutput(List<DiffOperation>)Generates the output based on the differences between texts and saves it to a file.
GenerateOutput(List<List<DiffOperation>>)Generates the output based on the differences between texts and saves it to a file.
GenerateOutput(List<DiffOperation>, string)Generates the output based on the differences between texts and saves it to a file.
GenerateOutput(List<List<DiffOperation>>, string)Generates the output based on the differences between texts and saves it to a file.

See Also