aboutsummaryrefslogtreecommitdiff
path: root/internal/markup/markdown.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/markup/markdown.go')
-rw-r--r--internal/markup/markdown.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/markup/markdown.go b/internal/markup/markdown.go
index ee4e1ab0..f10c5ed5 100644
--- a/internal/markup/markdown.go
+++ b/internal/markup/markdown.go
@@ -161,6 +161,6 @@ func RawMarkdown(body []byte, urlPrefix string) []byte {
}
// Markdown takes a string or []byte and renders to HTML in Markdown syntax with special links.
-func Markdown(input interface{}, urlPrefix string, metas map[string]string) []byte {
+func Markdown(input any, urlPrefix string, metas map[string]string) []byte {
return Render(TypeMarkdown, input, urlPrefix, metas)
}