Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding shortcode for accordion component (Bootstrap 5) #1391

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

deining
Copy link
Collaborator

@deining deining commented Feb 3, 2023

This PR adds two shortcodes accordion and accordion-item in order to allow authoring of a accordion components. You will encounter this element frequently on various websites, e.g. for FAQ sections. The markup for an accordion is similar to the markup for creating a tabbed pane. For a preview have a look at the implementation details and the documentation given here:

https://deploy-preview-1391--docsydocs.netlify.app/docs/adding-content/shortcodes/#accordion

This PR makes use of the accordion component introduced with bootstrap 5.

I hope you like the feature.

@wlbksy
Copy link

wlbksy commented Aug 3, 2023

the Collapse component too! https://getbootstrap.com/docs/5.2/components/collapse/

Copy link
Contributor

@aimeeu aimeeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for implementing this! I left a few nits on the user guide text.

@deining
Copy link
Collaborator Author

deining commented Nov 23, 2023

Thank you for implementing this!

You are welcome!

I left a few nits on the user guide text.

Thanks for your review and your helpful comments. All proposed changes are incorporated now.

@deining deining requested a review from aimeeu November 23, 2023 06:40
@chalin chalin modified the milestones: 23Q4, 24Q1 Jan 11, 2024
@chalin chalin modified the milestones: 24Q1, 24Q2 Apr 2, 2024
@chalin chalin modified the milestones: 24Q2, 24Q3 Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants