-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Generates a data structure that holds a TOC generated from a markdown file.
Details
This feature should provide:
- adds new field to
metadatawhen passed to a resource'sbuild/3function - adds anchors in generated content of the article to link the TOC to the headers
The data structure should be a nested keyword list:
[
{"Header 1", "#header_1"},
{"Header 2", "#header_2", [
{"Header A", "#header_a"}
]}
]This will always generate a toc key in the metadata. If you don't want it, just ignore it.
- The
metadatawill contain a"toc"key with the TOC datastructure. - The markdown content will inject anchors automatically for every header.
Acceptance Criteria
- Generates "toc" key in metadata
- Generates anchors for all headers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request