You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
start_level -- (optional) a positive int attribute. Default value: 1
end_level -- (optional) a positive int attribute. Default value: 3
ordered -- (optional) a boolean attribute. Default value: false
scope -- (optional) a string attribute. Accepted values are: document and section. Default value: document.
Behavior
The plugin accepts a local content with the parsed document tree inside (#17), walks the tree (depending on the scope -- section or document -- the walk is constrained or not) and assembles a table of contents from content.text block with format_as set to title (#15)
This plugin might reuse relative-title-size calculation that the content.text plugin performs if absolute_title_size is not set.
Deliverables
new built-in content.toc plugin
the unit tests for the plugin
The text was updated successfully, but these errors were encountered:
Design
data.toc
plugin renders a Table Of Contents for the documentSpecification
start_level
-- (optional) a positive int attribute. Default value:1
end_level
-- (optional) a positive int attribute. Default value:3
ordered
-- (optional) a boolean attribute. Default value:false
scope
-- (optional) a string attribute. Accepted values are:document
andsection
. Default value:document
.Behavior
The plugin accepts a local content with the parsed document tree inside (#17), walks the tree (depending on the scope --
section
ordocument
-- the walk is constrained or not) and assembles a table of contents fromcontent.text
block withformat_as
set totitle
(#15)This plugin might reuse relative-title-size calculation that the
content.text
plugin performs ifabsolute_title_size
is not set.Deliverables
content.toc
pluginThe text was updated successfully, but these errors were encountered: