The Scales and Chords plugin lets you capture and preview guitar or piano chord notations within fenced code blocks. When previewed, it automatically detects chords on marked lines and makes them interactive - clicking on a chord opens a visual diagram from ScalesChords. Additionally, it displays all chords used in a stacked format below the tab, so users can view the entire set of chords at a glance. The plugin supports multiple instruments including guitar, piano, ukulele, mandolin, and banjo.