summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/ast/attribute.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/ast/attribute.go')
-rw-r--r--vendor/github.com/gomarkdown/markdown/ast/attribute.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/ast/attribute.go b/vendor/github.com/gomarkdown/markdown/ast/attribute.go
new file mode 100644
index 00000000..002c6a2e
--- /dev/null
+++ b/vendor/github.com/gomarkdown/markdown/ast/attribute.go
@@ -0,0 +1,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
+}