Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-27T22:30:54.000Z (about 1 year ago)
- Last Synced: 2024-12-17T14:12:10.492Z (about 2 months ago)
- Topics: quarto, quarto-extension, quarto-filter, quarto-shortcode
- Language: Lua
- Homepage: https://royfrancis.github.io/quarto-accordion
- Size: 306 KB
- Stars: 2
- 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.
![](preview.jpg)
## 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