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.
Detects and highlights chord symbols in fenced code blocks marked as ```chords
.
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):
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 required.
Includes chord diagrams for guitar, ukulele and mandolin. The instrument can be set globally or specified per chord block.
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 up and down with a click or an editor command.
Scroll down as you play with configurable speed.
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.
Minimal dark | Minimal light | AnuPpuccin light |
---|---|---|
To customize colors and styles, use the Style Settings plugin.
Access all features using dedicated editor commands with support for keyboard shortcuts.
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.
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.
```tab
instead of ```chords
) and the line markers (e.g. [c]
instead of %c
)npm i
to install dependenciesnpm 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 supports for breakpoints etc.:
--remote-debugging-port=9222
parameter which enables
Chrome remote debugging on port 9222.main.js
, styles.css
, manifest.json
to your vault VaultFolder/.obsidian/plugins/chord-sheets/
and enable the plugin in Obsidian's settings.This plugin uses:
If you like this plugin and want to say thanks, here are ways to support its development:
Your support helps maintain and improve this project. Thank you!