3 ms·
The new MS Office format is XML with plain text. RTF is also plain text. However it wouldn't be very hard to do, if you implement a small script that takes the
by _pi 17y ago
The new MS Office format is XML with plain text. RTF is also plain text.
However it wouldn't be very hard to do, if you implement a small script that takes the git history and pushes it through a viewer showing different versions of the file. Obviously highlighting would be harder but the changes would be visible.
Highlighting requires a bit more babysitting with the file format to produce valid files obviously.
- stevejohnson 17y agoThat's the issue I was referring to. The diff tool works on lines, but changes to formatted text documents are word- and tag-based.
- _pi 17y agoI'd say that viewing the changes are more-so the problem because diff will be able to handle the backend of things on most files, changed words in lines are picked up easily, so are tags.