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/README.md

23 lines
769 B
Markdown
Raw Normal View History

2017-10-03 21:43:55 +03:00
highlight_diff
==============
[![Build Status](https://travis-ci.org/shurcooL/highlight_diff.svg?branch=master)](https://travis-ci.org/shurcooL/highlight_diff) [![GoDoc](https://godoc.org/github.com/shurcooL/highlight_diff?status.svg)](https://godoc.org/github.com/shurcooL/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
------------
```bash
go get -u github.com/shurcooL/highlight_diff
```
License
-------
- [MIT License](https://opensource.org/licenses/mit-license.php)