The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
2
Stars
MIT
License
45,699
Downloads
December 22nd 2018
Last Modified
Version:
Loading...

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

  • MIT License