I want to display Github patches, and I don't want to write my own parser. Specifically we are parsing the files.patch like in this example from the Github API docs.
I was hoping for something like Google-Code-Prettify, but extensive Googling hasn't turned anything up. Is there anything to do this?
parse-diff (CoffeeScript as well, but shouldn't matter as it can be used in any JS context) sounds a better (more widely used, maintained) option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With