...
1
2 package ast
3
4 import (
5 gast "github.com/yuin/goldmark/ast"
6 )
7
8
9 type Strikethrough struct {
10 gast.BaseInline
11 }
12
13
14 func (n *Strikethrough) Dump(source []byte, level int) {
15 gast.DumpHelper(n, source, level, nil, nil)
16 }
17
18
19 var KindStrikethrough = gast.NewNodeKind("Strikethrough")
20
21
22 func (n *Strikethrough) Kind() gast.NodeKind {
23 return KindStrikethrough
24 }
25
26
27 func NewStrikethrough() *Strikethrough {
28 return &Strikethrough{}
29 }
30
View as plain text