Improve api

This commit is contained in:
Zachary Yedidia committed 2017-02-18 21:29:17 -05:00
1 parent 0f7ed208c1
commit 6dfc8e081f
5 files changed
+37 -9

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ func main() {
h := highlight.NewHighlighter(def)
matches := h.Highlight(string(fileSrc))
matches := h.HighlightString(string(fileSrc))
lines := strings.Split(string(fileSrc), "\n")
for lineN, l := range lines {