summaryrefslogtreecommitdiffstats
path: root/markup/goldmark/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/goldmark/convert.go')
-rw-r--r--markup/goldmark/convert.go8
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,
+ },
))
}