Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 602 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 602 Bytes

highlight_diff

Go Reference

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 github.com/shurcooL/highlight_diff

License