A quarto shortcode extension to add Bootstrap accordion component for html format.
- Requires Quarto >= 1.4.0
- In the root of the quarto project, run in terminal:
quarto add royfrancis/quarto-accordion
This will install the extension under the _extensions
subdirectory.
---
title: Accordion
accordion:
- accordion-1:
- header: Click here to view contents
body: This is the body content
filters:
- accordion
---
{{< accordion accordion-1 >}}
For more examples and usage guide, see here.
2024 • Roy Francis