Skip to content

reactbits/diffview

Repository files navigation

npm version Build Status Total downloads

diffview

React component to display unified diffs.

TODO

  • remove dependency on qwest in demo app, use fetch api
  • support unified diff
  • highlight code with prism.js
  • fix parse-diff to support single patch (e.g. fetched from github) without diff header
  • split view
  • github styles
  • allow to customize highlight function