Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/markup
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 14:11:32 +0300
committerGitHub <noreply@github.com>2020-12-16 14:11:32 +0300
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /markup
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'markup')
-rw-r--r--markup/highlight/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/highlight/config.go b/markup/highlight/config.go
index 1bee58dc5..1dc1e28e2 100644
--- a/markup/highlight/config.go
+++ b/markup/highlight/config.go
@@ -155,7 +155,7 @@ func parseOptions(in string) (map[string]interface{}, error) {
return opts, nil
}
-// startLine compansates for https://github.com/alecthomas/chroma/issues/30
+// startLine compensates for https://github.com/alecthomas/chroma/issues/30
func hlLinesToRanges(startLine int, s string) ([][2]int, error) {
var ranges [][2]int
s = strings.TrimSpace(s)