mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-25 18:34:23 +01:00
Feature Request: Collapsible Table of Contents with Configurable Default State #8
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Aroy/Rinkusu#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description:
I'd like to request a feature enhancement for the Table of Contents (ToC) in the theme. Specifically, I’d like to make the ToC collapsible using Bootstrap 5’s built-in collapse component, with the ability to configure its default state (expanded or collapsed) via the configuration.
Features:
Collapsible ToC:
Configurable Default State:
toc_default_state
).config.toml
or on a per-page basis in the front matter.Button Text Update:
Example Implementation:
HTML:
JavaScript:
Config:
Why this is useful: