diff --git a/pkg/md/md.go b/pkg/md/md.go index 7373023..16d14ff 100644 --- a/pkg/md/md.go +++ b/pkg/md/md.go @@ -66,7 +66,9 @@ func FormatMarkdown(in io.Reader, out io.Writer) (err error) { } // Format - luteEngine := lute.New() + luteEngine := lute.New(func(l *lute.Lute) { + l.RenderOptions.AutoSpace = true + }) formatContent := luteEngine.Format("md", markdownContent) // Output