Feature request: diff recipe should include + and - in the textual output
- Dominant language
- JavaScript
- Stars
- 35.8k
- Forks
- 4.1k
- Avg merge
- 2d 26m
- Merged PRs (30d)
- 33
Description
**Is your feature request related to a problem? Please describe.**
I'm using the diff tool on CyberChef, which highlights differences. However, the output doesn't follow either diff's or git-diff's format, and doesn't include + or - in the first column to indicate that a line was added or subtracted. When I try to export this analysis to another medium (specifically, the Slack text snippet tool with "Diff" format), the highlighting and diffed lines are lost.
**Describe the solution you'd like**
The output should have BOTH highlighting and use a standard diff format, so that we may export and visualize the result in other tools.
**Describe alternatives you've considered**
I searched for some other recipe that would convert diff's output to a standard format, but couldn't find any.
**Additional context**
Diff'ed data was confidential; I may add more visual context later.
Contributor guide
Research direction
Locate the CyberChef Diff recipe and inspect how it produces its textual output and preserves highlighting. Compare the current result with the requested standard diff format, then verify that added and removed lines retain both highlighting and leading + or - markers when exported or viewed as text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100