Skip to content

Commit

Permalink
fix: go formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Adams committed Feb 26, 2024
1 parent c7a3a76 commit 7e3a8e7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/docker_assets/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

"github.com/spf13/afero"

uml "github.com/OhYee/goldmark-plantuml"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/markup/converter"
"github.com/gohugoio/hugo/markup/highlight"
Expand All @@ -42,7 +43,6 @@ import (
"github.com/yuin/goldmark/renderer/html"
"github.com/yuin/goldmark/text"
"github.com/yuin/goldmark/util"
uml "github.com/OhYee/goldmark-plantuml"
)

// Provider is the package entry point.
Expand Down Expand Up @@ -153,7 +153,6 @@ func newMarkdown(pcfg converter.ProviderConfig) goldmark.Markdown {
extensions = append(extensions, uml.Default)
}


md := goldmark.New(
goldmark.WithExtensions(
extensions...,
Expand Down Expand Up @@ -361,4 +360,4 @@ func newHighlighting(cfg highlight.Config) goldmark.Extender {
w.WriteString("</div>")
}),
)
}
}

0 comments on commit 7e3a8e7

Please sign in to comment.