Skip to content
Mario edited this page Oct 7, 2020 · 1 revision

Styling the rendered output.

The included renderers allow you to apply your own styling to their output. E.g. Light vs. Dark theme.

HTML Output.

The included HTML renderers will mark changes between the compared versions by surrounding HTML tags. These tags are contain class names to be used for css styling.

Tag Class Description
table Differences The start of the compared output.
DifferencesInline Type of the used renderer.
DifferencesSideBySide
DifferencesUnified
tbody ChangeEqual The start of a block with equal lines.
ChangeReplace The start of a block with partially modified lines.
ChangeDelete The start of a block with lines removed from version 2.
ChangeInsert The start of a block with lines added to version 2.
td / div Left Lines are part of version 1.
Right Lines are part of version 2.
Skipped The start of a block with collapsed lines.
del Line(part)s in between is replaced by version 2.
ins Line(part}s in between replaces line(part)s of version 1.

Text Output.

The included text-renderers are meant to by used for plain text output. Therefore, they don't contain any special markers which can be used for output styling.

CLI Output.

Styling the output after it is rendered to the CLI is not supported. To style the output, you can make use of the options as described at Parameters and Options.

Clone this wiki locally