mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 15:47:14 -04:00
Beginning of unit tests
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Highlight
|
||||
[](https://goreportcard.com/report/github.com/jessp01/highlight)
|
||||
[](http://godoc.org/github.com/jessp01/highlight)
|
||||
[](https://github.com/jessp01/highlight/blob/master/LICENSE)
|
||||
[](https://goreportcard.com/report/github.com/jessp01/gohighlight)
|
||||
[](http://godoc.org/github.com/jessp01/gohighlight)
|
||||
[](https://github.com/jessp01/gohighlight/blob/master/LICENSE)
|
||||
|
||||
`highlight` is a syntax highlighter of programming languages, config formats and UNIX commands.
|
||||
`gohighlight` is a syntax highlighter of programming languages, config formats and UNIX commands.
|
||||
It allows you to pass in a string and get back all the information you need to properly highlight it..
|
||||
This repo includes over a 100 different lexers and contributions are most welcome:)
|
||||
|
||||
@@ -24,7 +24,7 @@ Below is a recap of the main changes made since:
|
||||
## Installation
|
||||
|
||||
```
|
||||
go get github.com/jessp01/highlight
|
||||
$ go get github.com/jessp01/highlight
|
||||
```
|
||||
|
||||
Be sure to point your code to the correct path of `syntax_files`.
|
||||
@@ -127,6 +127,7 @@ func helloWorld() {
|
||||
}
|
||||
}
|
||||
|
||||
color.Unset()
|
||||
fmt.Print("\n")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user