Skip to content

What changes look like

Each case below shows the note in the older commit, the note in the newer commit and the redline PDF made from the two with the built-in redline template, in the blackline style and in the side-by-side style. The examples live in examples/_redline/, and scripts/render_redline_examples.py makes the pictures from them in a temporary git repository. The change summary at the start of every redline is left out of these pictures; Styles and options shows it.

Summary

Change Blackline Side by side
Words inside a paragraph Removed words struck through, inserted words underlined The same marks, old words left, new words right
Paragraph inserted or removed The whole paragraph marked The paragraph faces a gap
Paragraph replaced by a different one Removed paragraph, then inserted paragraph Old and new paragraph on one row
Paragraph moved Purple at both places, each linked to the other Purple, each facing a "moved" gap
Heading text Word marks, also in the table of contents Old and new heading on one row
Heading inserted or removed Marked heading; a removed heading stays out of the numbering and is listed struck through in the table of contents Faces a gap
Heading level "level 2 → 3" label The same label
List item changed, inserted, removed, reordered Marks per item; a reordered item is shown as moved One row per item
Task checked or unchecked The new checkbox with a "now checked" label Old and new checkbox
Table cell, row, column Marks per cell; inserted and removed rows and an added column marked as a whole Old and new table on one row
Callout text, callout inserted or removed Marks inside the callout; a whole callout marked as one block Old and new callout on one row
Image or diagram replaced, also by a new file of the same name Removed figure faded and labelled, inserted figure labelled Old and new figure on one row
Code block Changed lines: the old line struck through, then the new line Old code left, new code right
Embedded note, Meta Bind value, Dataview result Marked where they appear in the PDF The same
Property that is not shown in the text Not shown Not shown
Footnote text Marks in the footnote The old footnote inline in the old column

Text

Words inside a paragraph

Inserted words are blue with a double underline, removed words vermilion and struck through. A replaced word is shown as the old word followed by the new one. Neighbouring changes that are only split by a short word are joined into one, so a rewritten phrase reads as one replacement. Words are split at spaces, so a full stop or comma belongs to the word before it.

Before

Updates are installed once a week by the owner of the device. A lost device is reported to the service desk within one day.

After

Updates are installed once a month by the IT team. A lost or stolen device is reported to the service desk within one day.

Redline PDF

Word insertions, removals and replacements in one paragraph

Word insertions, removals and replacements in one paragraph, side by side

Inserted and removed paragraphs

A paragraph that is only in one version is marked as a whole: underlined when it is inserted, struck through when it is removed. The bar in the margin marks the group of changed blocks.

Before

The policy applies to all devices.

Personal devices may be used for email if a passcode is set.

Every team names one contact for device questions.

After

The policy applies to all devices.

Every team names one contact for device questions.

The contacts meet once per quarter to review this policy.

Redline PDF

A removed and an inserted paragraph

A removed and an inserted paragraph, side by side

Moved text

A paragraph that was removed in one place and inserted in another with the same or nearly the same text is shown as moved: purple and struck through where it was, purple and underlined where it is now. A label at each end names the section of the other end, with its page, and links to it. When the moved text was also edited, the new place shows the word changes too.

Before

Paragraph one sets the scope of the policy.

Paragraph two lists the rules.

Paragraph three names the exceptions.

Paragraph four explains the review.

After

Paragraph two lists the rules.

Paragraph three names the exceptions.

Paragraph four explains the review.

Paragraph one sets the scope of the policy.

Redline PDF

A moved paragraph, marked at its old and its new place

A moved paragraph, marked at its old and its new place, side by side

Replaced paragraphs

Blocks are only compared word by word when they are alike: at least half of their words match. A paragraph replaced by one with a different content is shown as a removed paragraph followed by an inserted one, not as a mix of single words. A changed paragraph next to an inserted or removed one is still compared word by word.

Before

## Rules

Updates are installed by the owner of the device.

## Reviews

The policy is reviewed every year.

After

## Rules

The owner of the policy is the IT team.

## Reviews

The policy is reviewed every year.

Redline PDF

A replaced paragraph shown as removed and inserted

A replaced paragraph shown as removed and inserted, side by side

Headings

Changed, inserted and removed headings

A changed heading keeps its place and number and shows the word changes, also in the table of contents. An inserted heading is marked and gets a number; the table of contents marks it "new". A removed heading is shown struck through but is not a heading any more, so it gets no number, does not shift the numbering of the following sections, and is listed struck through, as "removed", in the table of contents.

Before

## Scope

All devices of the team.

## Old devices

Devices older than five years are replaced.

## Rules

Lock the screen.

After

## Scope and purpose

All devices of the team.

## Rules

Lock the screen.

## Reviews

The policy is reviewed every year.

Redline PDF

Table of contents and headings with a changed, a removed and an inserted heading

Table of contents and headings with a changed, a removed and an inserted heading, side by side

Heading level

A heading that changes its level keeps its text and gets a small label with the old and the new level. The numbers of the heading and of the headings below it change with it.

Before

## Scope

All devices of the team.

## Duties

The owner keeps the device up to date.

### Details

Updates are installed once a month.

After

## Scope

All devices of the team.

### Duties

The owner keeps the device up to date.

### Details

Updates are installed once a month.

Redline PDF

A heading with a level change label

A heading with a level change label, side by side

Lists and tasks

List items

Lists are compared item by item, so each item keeps its marker and its place. Items are paired by similarity, so a changed item next to an inserted or removed one is still compared word by word. An item that only changed its place in the list is shown as moved. Nested items work the same way. The numbers of an ordered list come from the newer version.

Before

- Lock the screen.
- Install updates once a week.
- Report a lost device:
    - Call the service desk.
    - Send an email.
- Use the password manager.

1. Open the form.
2. Print the form.
3. Sign the form.

After

- Lock the screen.
- Install updates once a month.
- Report a lost device:
    - Call the service desk.
    - Fill in the loss form.
    - Send an email.

1. Open the form.
2. Sign the form.

Redline PDF

Changed, inserted, removed and moved items in a bullet list, a nested list and a numbered list

Changed, inserted, removed and moved items in a bullet list, a nested list and a numbered list, side by side

Tasks

A task that was checked or unchecked keeps its checkbox, which shows the new state, and gets a "now checked" or "now unchecked" label.

Before

- [ ] Read the policy
- [ ] Sign the form

After

- [x] Read the policy
- [ ] Sign the form

Redline PDF

A checked task with a now checked label

A checked task with a now checked label, side by side

Tables

Table cells

A changed cell shows the word changes inside the table. Padding and column widths in the Markdown source do not matter.

Before

| Device | Owner | Review |
| ------ | ----- | ------ |
| Laptop | Anna  | yearly |
| Phone  | Ben   | yearly |

After

| Device | Owner | Review |
| ------ | ----- | ------ |
| Laptop | Anna  | daily  |
| Phone  | Chris | yearly |

Redline PDF

A table with two changed cells

A table with two changed cells, side by side

Table rows

Tables are compared row by row and cell by cell. An inserted row is underlined as a whole, a removed row stays in place struck through, and a column that was added is marked in every cell. The table stays a table, also when the source columns get wider.

Before

| Device | Owner | Review |
| ------ | ----- | ------ |
| Laptop | Anna  | yearly |
| Phone  | Ben   | yearly |

After

| Device | Owner | Review    |
| ------ | ----- | --------- |
| Laptop | Anna  | quarterly |
| Phone  | Ben   | yearly    |
| Tablet | Dana  | yearly    |

Redline PDF

A table with a changed cell and an inserted row

A table with a changed cell and an inserted row, side by side

Callouts

Text inside a callout

A change inside a callout that stays in place shows the word changes inside the callout box.

Before

> [!warning] Lost devices
> Report a lost device within one day.

After

> [!warning] Lost devices
> Report a lost device within one hour.

Redline PDF

A callout with a changed word

A callout with a changed word, side by side

Inserted and removed callouts

A callout that is only in one version is marked as a whole, title and body together.

Before

> [!note]
> This note is removed.

Text between the callouts.

After

Text between the callouts.

> [!tip]
> This tip is new.

Redline PDF

A removed and an inserted callout

A removed and an inserted callout, side by side

Images and embeds

Images

A replaced image is shown twice: the old one faded under a "Removed figure" label with its file name, the new one under an "Inserted figure" label. Size attributes such as |300 are kept. A changed Mermaid diagram is shown the same way, with both drawings.

Before

The chart shows the visits per month.

![[chart.png|300]]

After

The drawing shows the three shapes.

![[shapes.svg|300]]

Redline PDF

A removed figure, faded, and an inserted figure

A removed figure, faded, and an inserted figure, side by side

Image files with the same name

Images are compared by their file content, not only by the name in the note. An image file that keeps its name and path but has a new picture is shown as replaced, in the same way as an image that was renamed. The same holds for SVG files, embedded PDF pages, draw.io and Excalidraw drawings, and images inside embedded notes. Files with the same bytes in both versions are not marked, even when they moved to another folder. An Excalidraw drawing is compared by the picture that is drawn from it, so an edit of the drawing file that does not change the picture is not marked. The label of a drawing shows its name, such as Drawing.excalidraw.

Before

The chart shows the visits per month.

![[visits.png|300]]

After (same text, new `visits.png`)

The chart shows the visits per month.

![[visits.png|300]]

Redline PDF

The old and the new version of an image file with the same name

The old and the new version of an image file with the same name, side by side

Embedded notes

Embeds are expanded before the comparison, so a change in an embedded note shows up where it is embedded, even when the embedding note did not change.

Before

Every account follows the shared rule:

![[Password rule]]

After

Every account follows the shared rule:

![[Password rule]]

Redline PDF

A changed number in the embedded text

A changed number in the embedded text, side by side

Code

Code blocks

A changed code block is compared line by line. A changed line is shown twice, the old line with the removed characters struck through and the new line with the inserted ones underlined. Inserted and removed lines are marked as a whole.

Before

Set the timeout in the config file:

```yaml
lock_after_minutes: 10
```

After

Set the timeout in the config file:

```yaml
lock_after_minutes: 5
```

Redline PDF

A code block with an old and a new line

A code block with an old and a new line, side by side

Properties and plugins

Properties and Meta Bind

The properties block is not part of the PDF, so a property change is only visible where the text shows the value. A Meta Bind VIEW field is filled in before the comparison, so its new value is marked like any other word. The change of status from draft to approved in this example is not visible, since no field shows it.

Before

---
version: 2.3.0
owner: Anna
status: draft
---
This is version `VIEW[{version}][text]` of the policy, owned by `VIEW[{owner}][text]`.

After

---
version: 2.4.0
owner: Ben
status: approved
---
This is version `VIEW[{version}][text]` of the policy, owned by `VIEW[{owner}][text]`.

Redline PDF

Changed version and owner values from Meta Bind fields

Changed version and owner values from Meta Bind fields, side by side

Dataview

Dataview queries run on each version of the vault before the comparison, so the result table is compared like any table: changed values are marked in their cells, and a note that now matches the query is an inserted row.

Before

```dataview
TABLE owner, status
FROM "Projects"
SORT file.name ASC
```

After

```dataview
TABLE owner, status
FROM "Projects"
SORT file.name ASC
```

Redline PDF

A Dataview table with a changed status and an inserted row

A Dataview table with a changed status and an inserted row, side by side

Footnotes

Footnote text

A changed footnote shows the word changes in the footnote at the bottom of the page.

Before

Passwords have at least 16 characters.[^1]

[^1]: See the old guideline.

After

Passwords have at least 16 characters.[^1]

[^1]: See the guideline from 2026.

Redline PDF

A footnote with changed words

A footnote with changed words, side by side