No description
Find a file
2026-06-18 10:21:57 +01:00
lib feat: enhance chord parsing by using the degree-chords package 2026-06-18 10:21:53 +01:00
.eslintignore Initial commit 2025-10-30 16:33:27 +00:00
.eslintrc Initial commit 2025-10-30 16:33:27 +00:00
.gitignore Initial commit 2025-10-30 16:33:27 +00:00
.npmrc Initial commit 2025-10-30 16:33:27 +00:00
.prettierrc feat: initial buildout of repertoire plugin 2025-10-30 16:43:51 +00:00
esbuild.config.mjs Initial commit 2025-10-30 16:33:27 +00:00
LICENSE fix: update copyright year in LICENSE file to 2026 2026-02-14 15:57:37 +00:00
main.ts feat: enhance chord parsing by using the degree-chords package 2026-06-18 10:21:53 +01:00
manifest.json feat: update version to 1.2.0 in manifest 2026-06-18 10:21:57 +01:00
package-lock.json feat: enhance chord parsing by using the degree-chords package 2026-06-18 10:21:53 +01:00
package.json feat: enhance chord parsing by using the degree-chords package 2026-06-18 10:21:53 +01:00
README.md feat: enhance chord parsing by using the degree-chords package 2026-06-18 10:21:53 +01:00
styles.css Initial commit 2025-10-30 16:33:27 +00:00
tsconfig.json Initial commit 2025-10-30 16:33:27 +00:00
version-bump.mjs Initial commit 2025-10-30 16:33:27 +00:00
versions.json feat: update version to 1.0.2 in manifest and versions files 2025-11-12 15:52:17 +00:00

Repertoire Plugin

A plugin for Obsidian that renders chord charts written in Nashville-style Arabic numeral notation (e.g. 1, 4, 5/7).

Chord parsing and transposition are powered by degree-chords.

Features

  • Write charts using Arabic numerals (1, 2, 5/7) instead of letter chords
  • Set the key (and optional capo) in note frontmatter
  • Major and minor keys (C, G, Am, F# minor, etc.)
  • Altered chords (b3, #4, b7)
  • Slash chords (1/3, 5/7)
  • Extended qualities (4maj7, 57, 5sus4, 1add9)

Showing Chords

Use a repertoire code block:

1 5 6 4

In the key of C, this renders as:

C G Am F

Parentheses

Wrap a chord in parentheses for optional or passing chords. The parentheses are preserved in the output.

1 (5/7) 6 4

In the key of C:

C (G/B) Am F

Section markers

Lines with section labels in square brackets are styled as headings:

[Verse]
1 4 5 1

Key and Capo

Set the sounding key and capo fret in frontmatter:

---
Key: C
Capo: 3
---

The header above each block shows the frontmatter values (Key: C | Capo: 3). Chords inside the block are transposed to the fingered shapes you play with a capo — shapes are shifted down by the capo fret count so the sounding pitch matches the key.

With Key: C and Capo: 3, 1 2 renders as A Bm (not C Dm).

Capo must be an integer from 0 to 11. Invalid keys or capo values show an error in the block.

Minor keys

Use compact or spelled minor keys in frontmatter:

---
Key: Am
---

or

---
Key: G minor
---

Diatonic defaults follow the natural minor scale unless a quality suffix overrides them (e.g. 2dim, 4maj7).

Supported notation

Input (in C major) Output
1 C
2, 2m Dm
4maj7 Fmaj7
57, 5dom7 G7
5sus4 Gsus4
1add9 Cadd9
1/3 C/E
b7 Bb
#4 F#

Tip: Displaying a whole setlist on a single page

Keep each song in its own note, then embed them in a setlist note with ![[note name]].