diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-11-18 09:53:31 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-11-19 11:55:30 +0100 |
commit | bcb62d8911a744be368c3c0dd1426fb5b0a37553 (patch) | |
tree | a5387b9a2852469140dbc88ce77ed50fb2f1286d /markup/highlight/config.go | |
parent | 00fe7e0408fe1571388608f358faf7dacb9cbaaf (diff) |
deps: Upgrade github.com/alecthomas/chroma/v2 v2.4.0
Diffstat (limited to 'markup/highlight/config.go')
-rw-r--r-- | markup/highlight/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/highlight/config.go b/markup/highlight/config.go index d55958d35..9013dd072 100644 --- a/markup/highlight/config.go +++ b/markup/highlight/config.go @@ -95,7 +95,7 @@ func (cfg Config) ToHTMLOptions() []html.Option { html.BaseLineNumber(cfg.LineNoStart), html.LineNumbersInTable(cfg.LineNumbersInTable), html.WithClasses(!cfg.NoClasses), - html.LinkableLineNumbers(cfg.AnchorLineNos, lineAnchors), + html.WithLinkableLineNumbers(cfg.AnchorLineNos, lineAnchors), html.InlineCode(cfg.Hl_inline), } |