mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
.. | ||
.travis.yml | ||
main_test.go | ||
main.go | ||
README.md |
highlight_diff
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