diff --git a/src/utils/syntax.go b/src/utils/syntax.go index 369f114..fc3b38d 100644 --- a/src/utils/syntax.go +++ b/src/utils/syntax.go @@ -7,9 +7,9 @@ import ( "regexp" "strings" - html_formatter "github.com/alecthomas/chroma/formatters/html" - "github.com/alecthomas/chroma/lexers" - "github.com/alecthomas/chroma/styles" + html_formatter "github.com/alecthomas/chroma/v2/formatters/html" + "github.com/alecthomas/chroma/v2/lexers" + "github.com/alecthomas/chroma/v2/styles" ) // highlightSyntaxViaContent uses Chroma to lex code content and apply the appropriate tokenizer engine.