Toc
Render a table of contents list.
info
This helper is only available when the toc
transform is enabled, see table of contents for more detail.
Parameters
tag
: Tag for the list; eitherol
orul
(default:ol
).class
: Class name for the list element.from
: Start heading depth (eg:"h3"
).to
: End heading depth (eg:"h5"
).
Example