Diff macro

Description

Compare two pieces of text side-by-side.

Type

Standard

Guest

:check_mark:

Anonymous

🕙

The Diff Macro in Capable for Confluence is a powerful tool that allows you to compare two pieces of text or code side-by-side, highlighting the differences between them.

This feature is incredibly useful for teams that need to review changes in code, documents, or any other text-based content. By visually displaying the differences, the Diff Macro makes it easier to spot changes, review edits, and ensure accuracy in collaborative environments:

  • Bug Retrospectives: Imagine your team has just resolved a bug in the codebase. Using the Diff Macro, you can compare the pre- and post-fix versions of the code to pinpoint what caused the issue and how it was fixed.

  • Documentation Updates: When updating documentation, the Diff Macro allows you to compare the old and new versions side-by-side.

  • Project Revisions: If a project involves multiple rounds of revisions, the Diff Macro can help track changes over time, providing a clear view of how the content has evolved.

image-20241025-190122.png

#1. Open the Confluence editor

#2. Type /diff and press Enter

image-20241025-190342.png

#3. Configure the text or code to compare

image-20241025-190400.png

#4. Save the page to share

image-20241025-190420.png