diff --git a/markup/goldmark/codeblocks/render.go b/markup/goldmark/codeblocks/render.go index 59d142e23d0..b598763d360 100644 --- a/markup/goldmark/codeblocks/render.go +++ b/markup/goldmark/codeblocks/render.go @@ -29,15 +29,15 @@ import ( ) type ( - diagrams struct{} - htmlRenderer struct{} + codeBlocksExtension struct{} + htmlRenderer struct{} ) func New() goldmark.Extender { - return &diagrams{} + return &codeBlocksExtension{} } -func (e *diagrams) Extend(m goldmark.Markdown) { +func (e *codeBlocksExtension) Extend(m goldmark.Markdown) { m.Parser().AddOptions( parser.WithASTTransformers( util.Prioritized(&Transformer{}, 100),