Skip to content

Syntax highlighter for diff format, with inner diff highlighting.

License

Notifications You must be signed in to change notification settings

shurcooL/highlight_diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Syntax highlighter for diff format, with inner diff highlighting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages