https://zrp200.github.io/cc-diff/
I'm developing a web app that greatly eases writing C&C checks by doing all of the formatting for you. All you need is to give an "ideal" version of the analysis and it creates the check properly formatted. Colors are configurable, comments are addable, and it supports export to discord formatting as well.
I created this to make it possible to format checks while colorblind when I found that the existing tool was too imprecise.
The whole thing is coded with ReactJS.
Current Version: v0.1.4
Why use this?
Features
Both have:
I'm developing a web app that greatly eases writing C&C checks by doing all of the formatting for you. All you need is to give an "ideal" version of the analysis and it creates the check properly formatted. Colors are configurable, comments are addable, and it supports export to discord formatting as well.
I created this to make it possible to format checks while colorblind when I found that the existing tool was too imprecise.
The whole thing is coded with ReactJS.
Current Version: v0.1.4
Why use this?
- Avoids the need to have to manually format diffs
- Eliminates the risk of entangling the original with your check
- Guarantee consistent colors and formatting*
- Ability to store the "ideal" version of a check (the text in the New box) and keep a copy of the old version.
- If you store the new version of your check, and your check is implemented, you can compare it with the implemented check to generate a "changes" check.
- Determine what changed when someone implements your check for easier evaluation.
- Words are never split apart, making for an actually readable output.
- Sequences of REMOVE / ADD / REMOVE are modified to be REMOVE REMOVE ADD, and vice versa.
r1addr2→r1 r2add
- Capitalization changes are rendered as only changing that character if that's the only change of note.
Defensivedefensive → defensivedefensiveDefensive → Defensive
- Spaces are generated between changes for the most part (subject to change/improvement)
- Generate your check.
- Keep the "New" section of the check (let's call it "Ideal")
- When your check is implemented, take the implementation ("Implement"), and put it into the "New" box.
- Put Ideal into the Old box to generate a check that points out all deviations from your check.
Features
Both have:
- Saves inputs between sessions
- Outputs both a visual diff as well as a copyable BBCode version for pasting.
- Vaguely similar layout scheme
- Automatically generates output as you type
- Allows comments delimited by
{
}
in the New Box- Comments are automatically filtered out of the Old box for easier reuse of an "ideal" check with comments.
- Comments can also be used to affect diff output, as they are considered dividers.
- Colors are configurable, saved between sessions, and are easily reset to good defaults.
- Hide the "old" box to focus on your changes.
- Ability to add italics and underline to checks to really make them pop
- Output in Markdown to post on Discord
- Generates (AC)/(RC), and (AP)/(RP), (ASC)/(RSC) in the bb code/markdown output for comma and period changes, respectively. This is toggleable behavior.
- Show paragraph markers in output, toggleable.
- Diff output is properly formatted
- Quickly paste an analysis in, fill both boxes, and hide the old version in the same action.
Last edited: