1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/vendor/github.com/shurcooL/highlight_diff
2017-10-03 14:43:55 -04:00
..
.travis.yml Vendoring 2017-10-03 14:43:55 -04:00
main_test.go Vendoring 2017-10-03 14:43:55 -04:00
main.go Vendoring 2017-10-03 14:43:55 -04:00
README.md Vendoring 2017-10-03 14:43:55 -04:00

highlight_diff

Build Status GoDoc

Package highlight_diff provides syntaxhighlight.Printer and syntaxhighlight.Annotator implementations for diff format. It implements intra-block character-level inner diff highlighting.

It uses GitHub Flavored Markdown .css class names "gi", "gd", "gu", "gh" for outer blocks, "x" for inner emphasis blocks.

Installation

go get -u github.com/shurcooL/highlight_diff

License