Browse Source

Fix docs

master
Jan-Lukas Else 2 months ago
parent
commit
9788c89266
  1. 6
      ast/mark.go

6
ast/mark.go

@ -5,7 +5,7 @@ import (
gast "github.com/yuin/goldmark/ast"
)
// A Mark struct represents a strikethrough of GFM text.
// A Mark struct represents a mark.
type Mark struct {
gast.BaseInline
}
@ -15,7 +15,7 @@ func (n *Mark) Dump(source []byte, level int) {
gast.DumpHelper(n, source, level, nil, nil)
}
// KindMark is a NodeKind of the Strikethrough node.
// KindMark is a NodeKind of the Mark node.
var KindMark = gast.NewNodeKind("Mark")
// Kind implements Node.Kind.
@ -23,7 +23,7 @@ func (n *Mark) Kind() gast.NodeKind {
return KindMark
}
// NewMark returns a new Strikethrough node.
// NewMark returns a new Mark node.
func NewMark() *Mark {
return &Mark{}
}
Loading…
Cancel
Save