diff --git a/utils/codeFormatter.go b/utils/codeFormatter.go index 20324a5..70339da 100644 --- a/utils/codeFormatter.go +++ b/utils/codeFormatter.go @@ -27,7 +27,7 @@ func CodeBlockWithLanguage(language string, content string) string { } func CodeBlock(content string) string { - return "```\n" + content + "\n" + "```" + return fmt.Sprintf("```\n%s\n```", content) } func Time(time *time.Time) string {