markup/highlight: Replace the temp for with a dependency

This commit is contained in:
Bjørn Erik Pedersen
2019-11-24 13:56:37 +01:00
parent b546417a27
commit a2d77f4a80
6 changed files with 5 additions and 822 deletions

View File

@@ -22,7 +22,7 @@ import (
"github.com/alecthomas/chroma/formatters/html"
"github.com/alecthomas/chroma/lexers"
"github.com/alecthomas/chroma/styles"
hl "github.com/gohugoio/hugo/markup/highlight/temphighlighting"
hl "github.com/yuin/goldmark-highlighting"
)
func New(cfg Config) Highlighter {