diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-03-15 17:03:09 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-03-16 11:50:11 +0100 |
commit | ba03114aa9696095e6634776b0dd021bffe815a0 (patch) | |
tree | 55124d52d463ac596961e7e7442d718197b125d1 /markup | |
parent | 3935faa4175940dbd56b4e3a023163623b4bbdf2 (diff) | |
download | hugo-ba03114aa9696095e6634776b0dd021bffe815a0.tar.gz hugo-ba03114aa9696095e6634776b0dd021bffe815a0.zip |
deps: Upgrade github.com/gohugoio/hugo-goldmark-extensions/passthrough v0.1.0 => v0.2.0
Diffstat (limited to 'markup')
-rw-r--r-- | markup/goldmark/convert.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/markup/goldmark/convert.go b/markup/goldmark/convert.go index d835d17cf..643293c93 100644 --- a/markup/goldmark/convert.go +++ b/markup/goldmark/convert.go @@ -184,9 +184,11 @@ func newMarkdown(pcfg converter.ProviderConfig) goldmark.Markdown { } } - extensions = append(extensions, passthrough.NewPassthroughWithDelimiters( - inlineDelimiters, - blockDelimiters, + extensions = append(extensions, passthrough.New( + passthrough.Config{ + InlineDelimiters: inlineDelimiters, + BlockDelimiters: blockDelimiters, + }, )) } |