git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: describe Attr type
commit7e9e24b8bc602e6b3690648f5f25149d810f1e13 authorAlbert Krewinkel <albert@zeitkraut.de> dateMon 15 Oct 2018, 23:01 (8 years ago) parentf6559e5
1 file changed+28−13
doc/lua-filter-types-and-objects.md+28−13
doc/lua-filter-types-and-objects.md+28−13
@@ -109,7 +109,7 @@ Block of code.
109109: alias for `attr.classes` ([list] of strings)
110110
111111`attributes`
112−: alias for `attr.attributes` ([attributes])
112+: alias for `attr.attributes` ([Attributes])
113113
114114`tag`, `t`
115115: the literal `CodeBlock` (string)
@@ -141,7 +141,7 @@ Generic block container with attributes
141141: alias for `attr.classes` ([list] of strings)
142142
143143`attributes`
144−: alias for `attr.attributes` ([attributes])
144+: alias for `attr.attributes` ([Attributes])
145145
146146`tag`, `t`
147147: the literal `Div` (string)
@@ -166,7 +166,7 @@ Creates a header element.
166166: alias for `attr.classes` ([list] of strings)
167167
168168`attributes`
169−: alias for `attr.attributes` ([attributes])
169+: alias for `attr.attributes` ([Attributes])
170170
171171`tag`, `t`
172172: the literal `Header` (string)
@@ -307,7 +307,7 @@ Inline code
307307: alias for `attr.classes` ([list] of strings)
308308
309309`attributes`
310−: alias for `attr.attributes` ([attributes])
310+: alias for `attr.attributes` ([Attributes])
311311
312312`tag`, `t`
313313: the literal `Code` (string)
@@ -343,7 +343,7 @@ Image: alt text (list of inlines), target
343343: alias for `attr.classes` ([list] of strings)
344344
345345`attributes`
346−: alias for `attr.attributes` ([attributes])
346+: alias for `attr.attributes` ([Attributes])
347347
348348`tag`, `t`
349349: the literal `Image` (string)
@@ -373,7 +373,7 @@ Hyperlink: alt text (list of inlines), target
373373: alias for `attr.classes` ([list] of strings)
374374
375375`attributes`
376−: alias for `attr.attributes` ([attributes])
376+: alias for `attr.attributes` ([Attributes])
377377
378378`tag`, `t`
379379: the literal `Link` (string)
@@ -463,7 +463,7 @@ Generic inline container with attributes
463463: alias for `attr.classes` ([list] of strings)
464464
465465`attributes`
466−: alias for `attr.attributes` ([attributes])
466+: alias for `attr.attributes` ([Attributes])
467467
468468`tag`, `t`
469469: the literal `Span` (string)
@@ -513,12 +513,27 @@ Superscripted text
513513`tag`, `t`
514514: the literal `Superscript` (string)
515515
516−## Attributes
516+## Element components
517+
518+### Attr
519+
520+A set of element attributes
521+
522+`identifier`
523+: element identifier (string)
524+
525+`classes`
526+: element classes ([list] of strings)
527+
528+`attributes`
529+: collection of key/value pairs ([Attributes])
530+
531+### Attributes
517532
518533List of key/value pairs. Values can be accessed by using keys as
519534indices to the list table.
520535
521−## Citation
536+### Citation
522537
523538Single citation entry
524539
@@ -541,7 +556,7 @@ Single citation entry
541556`hash`
542557: hash (integer)
543558
544−## ListAttributes
559+### ListAttributes
545560List attributes
546561
547562`start`
@@ -566,7 +581,7 @@ Hierarchical elements can be either *Sec* (sections) or *Blk*
566581Section elements used to provide hierarchical information on
567582document contents.
568583
569−**Objects of this type are read-only.***
584+**Objects of this type are read-only.**
570585
571586`level`
572587: header level (integer)
@@ -575,7 +590,7 @@ document contents.
575590: section numbering ([list] of integers)
576591
577592`attr`
578−: header attributes ([attributes])
593+: header attributes ([Attr])
579594
580595`label`
581596: header content ([list] of [inlines])
@@ -629,5 +644,5 @@ Pandoc reader options
629644[inline]: #inline
630645[inlines]: #inline
631646[Attr]: #attr
632−[attributes]: #attributes
647+[Attributes]: #attributes
633648[citations]: #citation