-
Notifications
You must be signed in to change notification settings - Fork 902
Allow TOC element to be fully customizable #1293
Copy link
Copy link
Closed as not planned
Labels
3rd-partyShould be implemented as a third party extension.Should be implemented as a third party extension.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.featureFeature request.Feature request.needs-decisionA decision needs to be made regarding request.A decision needs to be made regarding request.wontfixThe issue will not be fixed for the stated reasons.The issue will not be fixed for the stated reasons.
Metadata
Metadata
Assignees
Labels
3rd-partyShould be implemented as a third party extension.Should be implemented as a third party extension.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.featureFeature request.Feature request.needs-decisionA decision needs to be made regarding request.A decision needs to be made regarding request.wontfixThe issue will not be fixed for the stated reasons.The issue will not be fixed for the stated reasons.
Type
Fields
Give feedbackNo fields configured for issues without a type.
will currently generate the following HTML:
The
divelement cannot be changed and so it is for the titlespanelement and itstoctitleclass.I suggest that other config parameters (
toc_tag,title_class,title_tag) that defaults to their current defaults are introduced.This would be very useful for producing semantic HTML, using specific HMTL elements.
For example to use the details disclosure element as toc, the extension could be called like so:
This will render an initially closed details element with a summary:
Summary
Header