summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/ast/attribute.go
blob: 002c6a2ecd290d0ff95e3e7a9e6b13ee4f2352cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package ast

// An attribute can be attached to block elements. They are specified as
// {#id .classs key="value"} where quotes for values are mandatory, multiple
// key/value pairs are separated by whitespace.
type Attribute struct {
	ID      []byte
	Classes [][]byte
	Attrs   map[string][]byte
}