upgrade to chroma v2
All checks were successful
Build and publish the docker image / build (push) Successful in 55s
All checks were successful
Build and publish the docker image / build (push) Successful in 55s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
parent
f016463aa4
commit
042b66787c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user