Section Metadata
Notes:
The Section Metadata block is handled by the HTML pipeline or boilerplate code internally to add data-*s attributes to the containing section. Its content follows an intuitive name/value pair structure where the name is in the first column of the table and the value is in the second column.
Special properties that are not added as data-* attributes:
Style: added as aclassattribute. You can add multiple classes (see block options to learn how class names are applied)Id: added as anidattribute. Can be used to create anchor links to sections. Note that IDs must be unique within a document, so authors will need to watch out for collisions.
As Section Metadata generally adds complexity for authors, it is recommended to avoid it, until it is really necessary.
Example:
Content Structure:
Code:
The section metadata table is processed as part of the boilerplate code. There is no project code related to the processing.
Previous
Metadata
Up Next