Skip to content

royfrancis/quarto-accordion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accordion

A quarto shortcode extension to add Bootstrap accordion component 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.


2024 • Roy Francis

Releases

No releases published

Packages

No packages published