Skip to content

Commit

Permalink
chore: refactor extension method names
Browse files Browse the repository at this point in the history
  • Loading branch information
bowman2001 committed May 1, 2024
1 parent 6d406a6 commit b002118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/inline.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ type inlineTag struct {
}

// InlineTagConfig is a configuration struct for the ExtraInlineTag extension.
type InlineTagConfig struct {
type Config struct {
ast.InlineTagType
}

func New(config InlineTagConfig) goldmark.Extender {
func New(config Config) goldmark.Extender {
var extension inlineTag

switch config.InlineTagType {
Expand Down

0 comments on commit b002118

Please sign in to comment.