https://github.com/royfrancis/quarto-accordion
A quarto extension to add accordion component to html format
https://github.com/royfrancis/quarto-accordion
quarto quarto-extension quarto-filter quarto-shortcode
Last synced: about 1 year ago
JSON representation
A quarto extension to add accordion component to html format
- Host: GitHub
- URL: https://github.com/royfrancis/quarto-accordion
- Owner: royfrancis
- Created: 2024-01-27T17:11:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T22:30:54.000Z (over 2 years ago)
- Last Synced: 2025-02-09T21:15:13.437Z (over 1 year ago)
- Topics: quarto, quarto-extension, quarto-filter, quarto-shortcode
- Language: Lua
- Homepage: https://royfrancis.github.io/quarto-accordion
- Size: 306 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# accordion
A quarto shortcode extension to add [Bootstrap accordion component](https://getbootstrap.com/docs/5.1/components/accordion/) for html format.

## Install
- 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.
## Usage
```
---
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](https://royfrancis.github.io/quarto-accordion).
---
2024 • Roy Francis