deps: Udpate to github.com/alecthomas/chroma/v2

Fixes #9932
Fixes #9931
This commit is contained in:
Bjørn Erik Pedersen 2022-05-26 12:17:10 +02:00
parent 09ac733381
commit 35fa192838
10 changed files with 29 additions and 45 deletions

View file

@ -18,7 +18,7 @@ import (
"fmt"
"sync"
"github.com/alecthomas/chroma/lexers"
"github.com/alecthomas/chroma/v2/lexers"
"github.com/gohugoio/hugo/common/herrors"
htext "github.com/gohugoio/hugo/common/text"
"github.com/gohugoio/hugo/markup/converter/hooks"