Update dependencies and remove old matterclient lib (#2067)
This commit is contained in:
6
vendor/github.com/gomarkdown/markdown/ast/node.go
generated
vendored
6
vendor/github.com/gomarkdown/markdown/ast/node.go
generated
vendored
@@ -92,6 +92,12 @@ type Container struct {
|
||||
*Attribute // Block level attribute
|
||||
}
|
||||
|
||||
// return true if can contain children of a given node type
|
||||
// used by custom nodes to over-ride logic in canNodeContain
|
||||
type CanContain interface {
|
||||
CanContain(Node) bool
|
||||
}
|
||||
|
||||
// AsContainer returns itself as *Container
|
||||
func (c *Container) AsContainer() *Container {
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user