Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dfalbel/chord-sheet

Quarto extension for displaying guitar chord sheets based on ChordSheetsJS
https://github.com/dfalbel/chord-sheet

quarto quarto-extension

Last synced: 2 months ago
JSON representation

Quarto extension for displaying guitar chord sheets based on ChordSheetsJS

Awesome Lists containing this project

README

        

# chord-sheet

This extension provides support for rendering chord sheets in [Quarto](https://quarto.org)
HTML documents. It uses the [ChordSheetJS](https://github.com/martijnversluis/ChordSheetJS)
library to parse and render sheets into HTML tables.

## Installing

You can install it with:

```
quarto install extension dfalbel/chord-sheet
```

## Example

````markdown
---
title: Songs
format:
html: default
filters:
- chord-sheet
---

```chord
Let it [Am]be, let it [C/G]be, let it [F]be, let it [C]be
[C]Whisper words of [G]wisdom, let it [F]be [C/E] [Dm] [C]
```
````

By default the ChordPro format is used, but you can switch to the ChordSheet format
by specifying `format="chordsheet"`, for example:

````markdown
```{.chord format="chordsheet"}
Am Am/G F C
Let it be, let it be, let it be, let it be
G F Em/F F6 C
There will be an answer, let it be
```
````

You can see an example here along with its [rendered](https://daniel.quarto.pub/chord-sheet-example/) version.