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 accordions to html format
https://github.com/royfrancis/quarto-accordion
quarto quarto-extension quarto-filter quarto-shortcode
Last synced: 25 days ago
JSON representation
A quarto extension to add accordions to html format
- Host: GitHub
- URL: https://github.com/royfrancis/quarto-accordion
- Owner: royfrancis
- Created: 2024-01-27T17:11:25.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T22:30:54.000Z (12 months ago)
- Last Synced: 2024-01-28T21:46:15.625Z (12 months ago)
- Topics: quarto, quarto-extension, quarto-filter, quarto-shortcode
- Language: Lua
- Homepage: https://royfrancis.github.io/quarto-accordion
- Size: 306 KB
- Stars: 0
- Watchers: 1
- 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