RepositoryTypeScriptDEGermany
olvidalo

olvidalo/obsidian-chord-sheets

Work with chord sheets (chords over lyrics or inline in brackets) in Obsidian: Chord diagrams for guitar, ukulele and mandolin, transpose, autoscroll and more. Works in Live Preview and reading mode.

179stars
31forks
15issues
5views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: guitar

#1 Repository of the week

1
TINIX TRENDING·Topic: chords

#1 Repository of the week

1
TINIX TRENDING·Topic: tabs

#1 Repository of the week

Obsidian Chord Sheets

Render and work with chord sheets (chords over lyrics or inline chords in brackets) in your vault. This plugin brings UltimateGuitar-like functionality into Obsidian, featuring chord diagrams, support for guitar, ukulele and mandolin, transposition, and autoscroll. Works seamlessly in edit / live preview and reading mode. It integrates with your theme colors and is customizable to your needs.

Features

✨ Highlight Chord Symbols

Detects and highlights chord symbols in fenced code blocks marked as ```chords.

chord-blocks.png

inline-chords.png

Note: When copy and pasting a chord sheet from a website, paste as plain text to preserve formatting (per default ⌘ + ⇧ + V on Mac and Ctrl + ⇧ + V on Windows/Linux or right click ➔ Paste as plain text).

The plugin auto-detects chord and lyric lines. If it fails, add %c at the end of chord lines or %t for lyrics (an idea 'borrowed' from the Chord Lyrics plugin):

line-markers.png

🎼 Chord Diagrams

Show chord diagrams on hover or on top of a chord block. Provides alternative fingerings for each chord. Diagrams are rendered locally, no API calls to an external service are required.

diagram-popups.gif

chord-overview.gif

🔨 Custom Chord Shapes

Define your own chord shapes using brackets: Bbadd13[x13333], Dm6[4|x2x132] (with capo), or C°[x34_242_] (with barre). For frets higher up the neck, separate with spaces or commas: C*[0 10 10 12 8 8], C*[0,10,10,12,8,8].

🎸 Choose Your Instrument

Includes chord diagrams for guitar, ukulele, and mandolin. The instrument can be set globally or specified per chord block.

change-instrument.gif

📝 Seamless Editing

Allows seamless editing of chords and lyrics in live preview / edit mode while keeping chord symbol highlighting and chord diagram rendering active, without needing to switch the fenced block to source view. This is achieved by implementing a CodeMirror editor extension for rendering instead of a code block post processor.

🔄 Transpose Songs

Transpose songs up and down with a click or an editor command.

transpose.gif

📜 Autoscroll

Scroll down as you play with configurable speed.

autoscroll.gif

Save your preferred scroll speed for a note by adding the autoscroll-speed frontmatter property. Set it manually or use the Save current autoscroll speed command to add it with the last used speed. The property will update automatically as you adjust the speed.

🌈 Uses Theme Colors

Minimal darkMinimal lightAnuPpuccin light
minimal-dark.pngminimal-bright.pnganuppuccin-bright.png

To customize colors and styles, use the Style Settings plugin.

⌨️ Editor Commands

Access all features using dedicated editor commands with support for keyboard shortcuts.

editor-commands.png

Note: The keyboard shortcuts in the screenshot are just for illustration. Shortcuts are empty by default and need to be set in Obsidian settings after installing the plugin.

📱Mobile Support

Works well on mobile. Bring up chord diagram popups by tapping on the chord symbols. Can be a bit fiddly in edit / live preview mode because tapping on a chord will position the caret there which brings up the keyboard. Prefer reading mode on mobile.

⚙️ Configurability

  • Turn chord or section header highlighting on or off
  • Hide certain UI elements (instrument and transpose controls, chord diagrams, autoscroll button) for edit / live preview mode, reading mode, or both.
  • Adjust chord diagram size and the default instrument
  • Customize the block "language" specifier (e.g., start a chord block with ```tab instead of ```chords) and the line markers (e.g. [c] instead of %c)
  • Integrates with Style Settings for fine-grained customization of colors and styles

Development

  • Clone this repo.
  • npm i to install dependencies
  • npm run dev to start compilation in watch mode.

This repo contains run / debug configurations for JetBrains IDEs (such as WebStorm). You will need to adapt the Run Obsidian configuration to the path of your Obsidian installation and set the working directory to the path where you cloned this repo.

To start a development and debug session with support for breakpoints etc.:

  1. Run the Run Obsidian configuration in debug mode. This will start Obsidian with the --remote-debugging-port=9222 parameter which enables Chrome remote debugging on port 9222.
  2. Run the Debug configuration which attaches the IDE to Obsidian.
  3. Run the dev configuration in debug mode which starts the development server.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/chord-sheets/ and enable the plugin in Obsidian's settings.

Credits

This plugin uses:

  • Vexchords for rendering chord diagrams.
  • tonal for parsing chord symbols, chord normalization, and transposition.
  • chords-db for ukulele and guitar fingerings.

Inspiration / Alternatives

  • Scales and Chords
    • Highlights chord symbols over lyrics in fenced code blocks
    • Shows chord diagrams on click that are fetched through an external web service
  • Obsidian Chord Lyrics
    • Highlights chord symbols over lyrics in fenced code blocks
    • Maintains chord / lyrics relationships when line wrapping, good for reading chord sheets on your phone
  • Obsidian Markdown Chords
    • Renders chords in the ChordPro-inspired markdown-it-chords (bracketed chords in lyrics) format in fenced code blocks
    • Optional rendering of chord diagrams above lyrics
    • Fingering needs to be specified explicitly as part of the chord symbol
  • Obsidian jTab
    • Renders tabs and chord diagrams in jTab format in fenced code blocks

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
obsidianmd/obsidian-sample-plugin

Template for Obsidian community plugins with build configuration and development best practices.

4.8k
Dec 1, 2026
RepositoryJavaScript
no-chris/chord-symbol

The definitive chord symbol parser and renderer for Javascript/NodeJS.

197
Dec 22, 2023
RepositorySwift
Desbeers/Chord-Provider

A ChordPro file parser and editor for Linux. Show the song with the chords for guitar, guitalele or ukulele.

141
Nov 30, 2026
RepositoryTypeScript
YishenTu/claudian

An Obsidian plugin that embeds Claude Code, Codex and other agents as an AI collaborator in your vault.

16.1k
Nov 27, 2026
RepositoryTypeScript
Vinzent03/obsidian-git

Integrate Git version control with automatic commit-and-sync and other advanced features in Obsidian.md

12.4k
Nov 24, 2026
RepositoryTypeScript
st3v3nmw/obsidian-spaced-repetition

Fight the forgetting curve by reviewing flashcards & entire notes on Obsidian

2.6k
Dec 1, 2026
RepositoryTypeScript
artisticat1/obsidian-latex-suite

Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements

2.6k
Nov 27, 2026
RepositoryTypeScript
chhoumann/quickadd

QuickAdd for Obsidian

2.4k
Dec 2, 2026
RepositoryTypeScript
scambier/obsidian-omnisearch

A search engine that "just works" for Obsidian.

2.2k
Nov 28, 2026